Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.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.001572/0.001572, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.001809/0.001809, allocations: 213.6 kB / 22.99 MB, free: 4.41 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.169/0.169, allocations: 23.93 MB / 337.1 MB, free: 10.91 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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") [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.002112/0.002112, allocations: 63.89 kB / 472.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.358, allocations: 59.88 MB / 0.5198 GB, free: 9.738 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:12638:6-12638:65: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:12638:6-12638:65: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.SimpleReaction2): time 0.07049/0.4285, allocations: 24.09 MB / 0.5434 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.44, allocations: 8.078 MB / 0.5512 GB, free: 7.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005703/0.4405, allocations: 11.88 kB / 0.5513 GB, free: 7.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007339/0.4413, allocations: 199.8 kB / 0.5514 GB, free: 7.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.4426, allocations: 363 kB / 0.5518 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004362/0.4469, allocations: 1.441 MB / 0.5532 GB, free: 6.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001316/0.4482, allocations: 0.6714 MB / 0.5539 GB, free: 5.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003521/0.4486, allocations: 188.8 kB / 0.554 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004224/0.449, allocations: 331.3 kB / 0.5543 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005247/0.4495, allocations: 349.2 kB / 0.5547 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.227e-05/0.4496, allocations: 36 kB / 0.5547 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.4521, allocations: 0.8019 MB / 0.5555 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.4522, allocations: 120.3 kB / 0.5556 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002664/0.4525, allocations: 220 kB / 0.5558 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003547/0.456, allocations: 1.52 MB / 0.5573 GB, free: 2.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4561, allocations: 0.75 kB / 0.5573 GB, free: 2.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4561, allocations: 0 / 0.5573 GB, free: 2.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.4561, allocations: 0 / 0.5573 GB, free: 2.594 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001643/0.4577, allocations: 0.8902 MB / 0.5582 GB, free: 1.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.4577, allocations: 8.031 kB / 0.5582 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008096/0.4586, allocations: 159.2 kB / 0.5583 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007571/0.4593, allocations: 394.2 kB / 0.5587 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.4593, allocations: 29.03 kB / 0.5587 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.449e-05/0.4594, allocations: 28.12 kB / 0.5588 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008989/0.4603, allocations: 0.5346 MB / 0.5593 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.4603, allocations: 3.938 kB / 0.5593 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.907e-05/0.4604, allocations: 12 kB / 0.5593 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.4604, allocations: 8 kB / 0.5593 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.4616, allocations: 0.7907 MB / 0.5601 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002681/0.4643, allocations: 1.722 MB / 0.5618 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.4648, allocations: 201.6 kB / 0.562 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.465, allocations: 126.4 kB / 0.5621 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002977/0.468, allocations: 1.291 MB / 0.5633 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.468, allocations: 35.22 kB / 0.5634 GB, free: 12.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.468, allocations: 0 / 0.5634 GB, free: 12.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006449/0.4687, allocations: 294.2 kB / 0.5637 GB, free: 12.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.4687, allocations: 52.16 kB / 0.5637 GB, free: 12.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005265/0.4692, allocations: 449.1 kB / 0.5641 GB, free: 12.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.4693, allocations: 33.7 kB / 0.5642 GB, free: 12.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.4695, allocations: 303.8 kB / 0.5645 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.086e-05/0.4696, allocations: 67.45 kB / 0.5645 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.4697, allocations: 98.08 kB / 0.5646 GB, free: 11.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4699, allocations: 354.7 kB / 0.5649 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.47, allocations: 88.81 kB / 0.565 GB, free: 11.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003866/0.4704, allocations: 369 kB / 0.5654 GB, free: 10.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006146/0.471, allocations: 0.4925 MB / 0.5659 GB, free: 10.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.471, allocations: 8 kB / 0.5659 GB, free: 10.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007842/0.4718, allocations: 477.5 kB / 0.5663 GB, free: 9.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.4719, allocations: 22.42 kB / 0.5664 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.4719, allocations: 12.12 kB / 0.5664 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.4719, allocations: 12 kB / 0.5664 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.4722, allocations: 115.8 kB / 0.5665 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.058e-05/0.4722, allocations: 15.94 kB / 0.5665 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.4725, allocations: 47.62 kB / 0.5665 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/0.4726, allocations: 39.98 kB / 0.5666 GB, free: 9.422 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 50 * 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.0002098/0.4728, allocations: 181.5 kB / 0.5668 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.457e-05/0.4729, allocations: 43.72 kB / 0.5668 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007014/0.4736, allocations: 391.6 kB / 0.5672 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.4736, allocations: 4 kB / 0.5672 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4736, allocations: 7.984 kB / 0.5672 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4736, allocations: 0 / 0.5672 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000826/0.4744, allocations: 0.6232 MB / 0.5678 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4744, allocations: 0 / 0.5678 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.275e-05/0.4745, allocations: 19.92 kB / 0.5678 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.4745, allocations: 0 / 0.5678 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.4745, allocations: 7.938 kB / 0.5678 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4745, allocations: 4.188 kB / 0.5678 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4745, allocations: 4 kB / 0.5678 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.4747, allocations: 189 kB / 0.568 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.469e-05/0.4748, allocations: 47.7 kB / 0.5681 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/0.4749, allocations: 7.938 kB / 0.5681 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.475, allocations: 4 kB / 0.5681 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.475, allocations: 11.97 kB / 0.5681 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-06/0.475, allocations: 4 kB / 0.5681 GB, free: 7.746 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004316/0.4755, allocations: 358.9 kB / 0.5684 GB, free: 7.398 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4755, allocations: 0 / 0.5684 GB, free: 7.398 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008756/0.4764, allocations: 267 kB / 0.5687 GB, free: 7.137 MB / 414.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.000691/0.477, allocations: 402.5 kB / 0.5691 GB, free: 6.734 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004265/0.4775, allocations: 220.5 kB / 0.5693 GB, free: 6.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4775, allocations: 0 / 0.5693 GB, free: 6.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.08e-05/0.4775, allocations: 41.53 kB / 0.5693 GB, free: 6.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.4781, allocations: 105.7 kB / 0.5694 GB, free: 6.383 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.4792, allocations: 0.7024 MB / 0.5701 GB, free: 5.629 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.4794, allocations: 211.8 kB / 0.5703 GB, free: 5.402 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.4796, allocations: 83.39 kB / 0.5704 GB, free: 5.32 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4796, allocations: 0 / 0.5704 GB, free: 5.32 MB / 414.1 MB Notification: Performance of Templates: time 0.01252/0.4921, allocations: 7.901 MB / 0.5781 GB, free: 13.43 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.3450631799642] Failed to read output from testmodel.py, exit status != 0: 0.5007795150158927 0.5157401159999999 0.056436552 Calling exit ...