Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.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.001366/0.001366, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001538/0.001538, allocations: 222.2 kB / 22.25 MB, free: 5.105 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.61/1.61, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.1525/0.1525, allocations: 23.93 MB / 336.3 MB, free: 10.93 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") [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.002128/0.002128, allocations: 79.88 kB / 471.7 MB, free: 6.945 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.4398, allocations: 59.87 MB / 0.5191 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.004567/0.4443, allocations: 2.821 MB / 0.5218 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006791/0.4511, allocations: 5.54 MB / 0.5273 GB, free: 3.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003394/0.4515, allocations: 12.84 kB / 0.5273 GB, free: 3.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000561/0.452, allocations: 143 kB / 0.5274 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008113/0.4528, allocations: 254.9 kB / 0.5276 GB, free: 3.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002958/0.4558, allocations: 0.9679 MB / 0.5286 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000777/0.4566, allocations: 497.8 kB / 0.5291 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/0.4569, allocations: 144.3 kB / 0.5292 GB, free: 2.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002946/0.4572, allocations: 237.2 kB / 0.5294 GB, free: 2.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004154/0.4576, allocations: 245.4 kB / 0.5297 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.3e-05/0.4577, allocations: 29.56 kB / 0.5297 GB, free: 2.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.4592, allocations: 0.5289 MB / 0.5302 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.4593, allocations: 86.75 kB / 0.5303 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.4596, allocations: 151.8 kB / 0.5304 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001689/0.4613, allocations: 1.035 MB / 0.5314 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4613, allocations: 0 / 0.5314 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4613, allocations: 0 / 0.5314 GB, free: 1.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.4613, allocations: 4 kB / 0.5315 GB, free: 1.984 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001081/0.4624, allocations: 0.6945 MB / 0.5321 GB, free: 1.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.4624, allocations: 9.188 kB / 0.5321 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006446/0.463, allocations: 109.4 kB / 0.5322 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006884/0.4637, allocations: 315.2 kB / 0.5325 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.4638, allocations: 21.94 kB / 0.5326 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.4638, allocations: 25.19 kB / 0.5326 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006257/0.4644, allocations: 377.7 kB / 0.533 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.4644, allocations: 5.125 kB / 0.533 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.4645, allocations: 10.06 kB / 0.533 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.4645, allocations: 5.344 kB / 0.533 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008981/0.4654, allocations: 0.5417 MB / 0.5335 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.4672, allocations: 1.284 MB / 0.5348 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.4675, allocations: 159 kB / 0.5349 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.4677, allocations: 90.88 kB / 0.535 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002013/0.4697, allocations: 0.9405 MB / 0.5359 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.4698, allocations: 31.94 kB / 0.5359 GB, free: 15.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.4698, allocations: 3.938 kB / 0.5359 GB, free: 15.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.000497/0.4703, allocations: 213.5 kB / 0.5361 GB, free: 15.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.4703, allocations: 58.09 kB / 0.5362 GB, free: 15.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/0.4708, allocations: 353.4 kB / 0.5365 GB, free: 14.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.4708, allocations: 25.7 kB / 0.5366 GB, free: 14.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.471, allocations: 236.8 kB / 0.5368 GB, free: 14.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/0.471, allocations: 47.94 kB / 0.5368 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.4712, allocations: 73.19 kB / 0.5369 GB, free: 14.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.4713, allocations: 349.1 kB / 0.5372 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.4715, allocations: 60.58 kB / 0.5373 GB, free: 14.33 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.4717, allocations: 248.6 kB / 0.5375 GB, free: 14.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.4722, allocations: 333.7 kB / 0.5379 GB, free: 13.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4722, allocations: 2.625 kB / 0.5379 GB, free: 13.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005657/0.4728, allocations: 350.6 kB / 0.5382 GB, free: 13.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.4728, allocations: 12.44 kB / 0.5382 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.4728, allocations: 6.344 kB / 0.5382 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.4728, allocations: 9.734 kB / 0.5382 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.473, allocations: 74.78 kB / 0.5383 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/0.4731, allocations: 14.22 kB / 0.5383 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.4733, allocations: 32.88 kB / 0.5383 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/0.4733, allocations: 29.48 kB / 0.5384 GB, free: 13.56 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001739/0.4735, allocations: 153.7 kB / 0.5385 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.4736, allocations: 38.55 kB / 0.5385 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005725/0.4741, allocations: 284.7 kB / 0.5388 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.4741, allocations: 1.688 kB / 0.5388 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.4742, allocations: 4.062 kB / 0.5388 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4742, allocations: 0 / 0.5388 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007561/0.4749, allocations: 0.548 MB / 0.5394 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4749, allocations: 6.656 kB / 0.5394 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.475, allocations: 15.22 kB / 0.5394 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.475, allocations: 5.312 kB / 0.5394 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.475, allocations: 2.266 kB / 0.5394 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.475, allocations: 2.875 kB / 0.5394 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.475, allocations: 1.438 kB / 0.5394 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.4752, allocations: 179.8 kB / 0.5396 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.593e-05/0.4753, allocations: 28.64 kB / 0.5396 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.4754, allocations: 19.2 kB / 0.5396 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.4755, allocations: 7.547 kB / 0.5396 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.4755, allocations: 8.188 kB / 0.5396 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.4755, allocations: 4.984 kB / 0.5396 GB, free: 12.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000349/0.4758, allocations: 280.6 kB / 0.5399 GB, free: 12.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4758, allocations: 0 / 0.5399 GB, free: 12.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007198/0.4766, allocations: 173.1 kB / 0.5401 GB, free: 12.38 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006072/0.4772, allocations: 300.8 kB / 0.5403 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003335/0.4775, allocations: 164.7 kB / 0.5405 GB, free: 12.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4775, allocations: 0 / 0.5405 GB, free: 12.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.137e-05/0.4776, allocations: 28.67 kB / 0.5405 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005549/0.4781, allocations: 94.86 kB / 0.5406 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.4791, allocations: 0.5406 MB / 0.5411 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.4793, allocations: 170.6 kB / 0.5413 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002686/0.4796, allocations: 88.47 kB / 0.5414 GB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.396e-05/0.4797, allocations: 42.94 kB / 0.5414 GB, free: 11.62 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4797, allocations: 0 / 0.5414 GB, free: 11.62 MB / 398.1 MB Notification: Performance of Templates: time 0.01299/0.4927, allocations: 6.494 MB / 0.5478 GB, free: 9.324 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.370705185923725] Failed to read output from testmodel.py, exit status != 0: 0.5019564228132367 0.516248117 0.051847798 Calling exit ...