Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 78.17 kB / 19.76 MB, free: 2.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 157.1 kB / 23 MB, free: 4.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.354/1.354, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1213/0.1213, allocations: 17.45 MB / 277.2 MB, free: 15.19 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.89 kB / 412.6 MB, free: 5.555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09625/0.09827, allocations: 59.88 MB / 472.5 MB, free: 9.559 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2): time 0.3952/0.4935, allocations: 27.16 MB / 499.6 MB, free: 38.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01383/0.5073, allocations: 16.04 MB / 0.5036 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007264/0.5081, allocations: 23.5 kB / 0.5036 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001/0.5091, allocations: 427.8 kB / 0.504 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.5108, allocations: 0.8119 MB / 0.5048 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005947/0.5167, allocations: 2.847 MB / 0.5076 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001603/0.5183, allocations: 1.636 MB / 0.5092 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007049/0.519, allocations: 0.7205 MB / 0.5099 GB, free: 26.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006439/0.5197, allocations: 0.7319 MB / 0.5106 GB, free: 26.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008282/0.5205, allocations: 0.7375 MB / 0.5113 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002025/0.5207, allocations: 141.3 kB / 0.5114 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003903/0.5246, allocations: 1.672 MB / 0.5131 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002745/0.5249, allocations: 362.9 kB / 0.5134 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005509/0.5254, allocations: 0.6254 MB / 0.514 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005004/0.5304, allocations: 3.566 MB / 0.5175 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5305, allocations: 0 / 0.5175 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.5305, allocations: 0 / 0.5175 GB, free: 23.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.5305, allocations: 3.938 kB / 0.5175 GB, free: 23.78 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.002713/0.5332, allocations: 1.894 MB / 0.5194 GB, free: 22.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.5332, allocations: 10.34 kB / 0.5194 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.5346, allocations: 401.1 kB / 0.5198 GB, free: 22.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.536, allocations: 0.9099 MB / 0.5206 GB, free: 21.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.5361, allocations: 205.9 kB / 0.5208 GB, free: 21.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.5363, allocations: 112.9 kB / 0.5209 GB, free: 21.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.5384, allocations: 1.666 MB / 0.5226 GB, free: 21.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.5384, allocations: 5.031 kB / 0.5226 GB, free: 21.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.5385, allocations: 51.47 kB / 0.5226 GB, free: 21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.5385, allocations: 30.25 kB / 0.5227 GB, free: 21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00255/0.5411, allocations: 2.096 MB / 0.5247 GB, free: 20.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005828/0.5469, allocations: 4.702 MB / 0.5293 GB, free: 17.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009738/0.5479, allocations: 0.6784 MB / 0.53 GB, free: 17.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004313/0.5483, allocations: 334 kB / 0.5303 GB, free: 17.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004947/0.5533, allocations: 2.658 MB / 0.5329 GB, free: 16.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.5533, allocations: 44.41 kB / 0.5329 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000238/0.5535, allocations: 66.39 kB / 0.533 GB, free: 15.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.024e-06/0.5535, allocations: 0 / 0.533 GB, free: 15.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.001093/0.5546, allocations: 0.6007 MB / 0.5336 GB, free: 15.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.5546, allocations: 115.1 kB / 0.5337 GB, free: 15.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009447/0.5556, allocations: 1.156 MB / 0.5348 GB, free: 15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.5556, allocations: 32.64 kB / 0.5348 GB, free: 14.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.5559, allocations: 0.8111 MB / 0.5356 GB, free: 14.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.427e-05/0.556, allocations: 144.4 kB / 0.5358 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/0.5563, allocations: 272.8 kB / 0.536 GB, free: 14.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.5564, allocations: 402.9 kB / 0.5364 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004499/0.5568, allocations: 325.8 kB / 0.5367 GB, free: 13.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006955/0.5575, allocations: 1.053 MB / 0.5377 GB, free: 12.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.5586, allocations: 1.411 MB / 0.5391 GB, free: 10.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.5586, allocations: 7.938 kB / 0.5391 GB, free: 10.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001842/0.5604, allocations: 1.446 MB / 0.5405 GB, free: 9.539 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.5605, allocations: 16 kB / 0.5406 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.5605, allocations: 28.7 kB / 0.5406 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005769/0.5611, allocations: 164 kB / 0.5407 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009721/0.562, allocations: 368 kB / 0.5411 GB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/0.5638, allocations: 3.816 MB / 0.5448 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008256/0.5646, allocations: 69.28 kB / 0.5449 GB, free: 4.984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.5647, allocations: 99.89 kB / 0.545 GB, free: 4.891 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003976/0.5651, allocations: 315.6 kB / 0.5453 GB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.5653, allocations: 92.14 kB / 0.5454 GB, free: 4.488 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.5666, allocations: 0.8575 MB / 0.5462 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.5666, allocations: 4 kB / 0.5462 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.5666, allocations: 4 kB / 0.5462 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5666, allocations: 1.828 kB / 0.5462 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.5682, allocations: 1.06 MB / 0.5473 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.5682, allocations: 3.938 kB / 0.5473 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.5684, allocations: 61.78 kB / 0.5473 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006474/0.569, allocations: 185.1 kB / 0.5475 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.5691, allocations: 17.22 kB / 0.5475 GB, free: 2.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/0.5712, allocations: 3.68 MB / 0.5511 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5712, allocations: 4.469 kB / 0.5511 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.5725, allocations: 0.8491 MB / 0.5519 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/0.5727, allocations: 94.73 kB / 0.552 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.5728, allocations: 12.83 kB / 0.552 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.5731, allocations: 8.75 kB / 0.552 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.5732, allocations: 40.92 kB / 0.5521 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.5732, allocations: 13.59 kB / 0.5521 GB, free: 13.65 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001059/0.5743, allocations: 0.8237 MB / 0.5529 GB, free: 12.92 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5743, allocations: 0 / 0.5529 GB, free: 12.92 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001994/0.5763, allocations: 0.6393 MB / 0.5535 GB, free: 12.29 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (cathode.temperature,anode.temperature) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001234/0.5775, allocations: 0.7397 MB / 0.5543 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.5791, allocations: 0.766 MB / 0.555 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5791, allocations: 3.938 kB / 0.555 GB, free: 10.94 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005327/0.5796, allocations: 384.4 kB / 0.5554 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00092/0.5806, allocations: 152.8 kB / 0.5555 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.5833, allocations: 1.843 MB / 0.5573 GB, free: 8.652 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.5838, allocations: 476.1 kB / 0.5578 GB, free: 8.293 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007343/0.5846, allocations: 270.9 kB / 0.558 GB, free: 8.082 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.5848, allocations: 143.7 kB / 0.5582 GB, free: 7.961 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5848, allocations: 0 / 0.5582 GB, free: 7.961 MB / 462.1 MB Notification: Performance of Templates: time 0.03072/0.6155, allocations: 18.31 MB / 0.576 GB, free: 8.133 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.261222118046135] Failed to read output from testmodel.py, exit status != 0: 0.62439105194062 0.638259479 0.10479295200000001 Calling exit ...