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.001364/0.001364, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001599/0.001599, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.407/1.407, allocations: 230.6 MB / 256 MB, free: 7.785 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.1361/0.1361, allocations: 23.99 MB / 336.4 MB, free: 10.84 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.002038/0.002038, allocations: 67.91 kB / 471.8 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3348, allocations: 59.9 MB / 0.5192 GB, free: 9.785 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.06628/0.4011, allocations: 24.17 MB / 0.5428 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.4121, allocations: 8.078 MB / 0.5507 GB, free: 7.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004806/0.4126, allocations: 11.88 kB / 0.5507 GB, free: 7.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006617/0.4133, allocations: 200.2 kB / 0.5509 GB, free: 7.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009223/0.4142, allocations: 355.4 kB / 0.5513 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004651/0.4188, allocations: 1.441 MB / 0.5527 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.4201, allocations: 0.6712 MB / 0.5533 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004689/0.4205, allocations: 188.8 kB / 0.5535 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005667/0.4211, allocations: 331.3 kB / 0.5538 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006727/0.4218, allocations: 325.3 kB / 0.5541 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.4219, allocations: 36 kB / 0.5542 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002209/0.4241, allocations: 0.7818 MB / 0.5549 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.4243, allocations: 116.5 kB / 0.555 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003387/0.4246, allocations: 219.8 kB / 0.5552 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003266/0.4279, allocations: 1.525 MB / 0.5567 GB, free: 2.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4279, allocations: 4 kB / 0.5567 GB, free: 2.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4279, allocations: 0 / 0.5567 GB, free: 2.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.605e-05/0.4279, allocations: 0 / 0.5567 GB, free: 2.469 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.001986/0.4299, allocations: 0.8783 MB / 0.5576 GB, free: 1.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.43, allocations: 8.594 kB / 0.5576 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009014/0.4309, allocations: 170.5 kB / 0.5578 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008488/0.4317, allocations: 398.7 kB / 0.5581 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.4317, allocations: 25.02 kB / 0.5582 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.925e-05/0.4318, allocations: 36.12 kB / 0.5582 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009464/0.4328, allocations: 0.5335 MB / 0.5587 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.4328, allocations: 0 / 0.5587 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/0.4329, allocations: 16.61 kB / 0.5587 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.4329, allocations: 12 kB / 0.5587 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.4342, allocations: 0.7903 MB / 0.5595 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002749/0.4369, allocations: 1.733 MB / 0.5612 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.4374, allocations: 201.2 kB / 0.5614 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.4376, allocations: 131 kB / 0.5615 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002828/0.4404, allocations: 1.271 MB / 0.5628 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.4405, allocations: 35.5 kB / 0.5628 GB, free: 12.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.734e-06/0.4405, allocations: 0 / 0.5628 GB, free: 12.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006548/0.4411, allocations: 285.9 kB / 0.5631 GB, free: 12.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.4412, allocations: 56.2 kB / 0.5631 GB, free: 12.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005273/0.4417, allocations: 450.7 kB / 0.5636 GB, free: 12.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.4417, allocations: 33.7 kB / 0.5636 GB, free: 12.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.442, allocations: 303.8 kB / 0.5639 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/0.442, allocations: 67.38 kB / 0.5639 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.4422, allocations: 94.08 kB / 0.564 GB, free: 11.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.4423, allocations: 366.7 kB / 0.5644 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.4425, allocations: 84.83 kB / 0.5645 GB, free: 11.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003929/0.4429, allocations: 365.1 kB / 0.5648 GB, free: 10.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000645/0.4435, allocations: 0.4925 MB / 0.5653 GB, free: 10 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.4436, allocations: 0 / 0.5653 GB, free: 10 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008222/0.4444, allocations: 489.1 kB / 0.5658 GB, free: 9.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.4444, allocations: 8 kB / 0.5658 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.4444, allocations: 8 kB / 0.5658 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.063e-05/0.4444, allocations: 15.94 kB / 0.5658 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.4448, allocations: 111.8 kB / 0.5659 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/0.4448, allocations: 20.45 kB / 0.5659 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.4451, allocations: 59.62 kB / 0.566 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.94e-05/0.4451, allocations: 32 kB / 0.566 GB, free: 9.27 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.0002118/0.4454, allocations: 185.5 kB / 0.5662 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.146e-05/0.4454, allocations: 39.72 kB / 0.5662 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007138/0.4461, allocations: 399.5 kB / 0.5666 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.4461, allocations: 0 / 0.5666 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4462, allocations: 0 / 0.5666 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4462, allocations: 0 / 0.5666 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008441/0.447, allocations: 0.631 MB / 0.5672 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.447, allocations: 4 kB / 0.5672 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.094e-05/0.4471, allocations: 11.98 kB / 0.5672 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.4471, allocations: 4 kB / 0.5672 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.4471, allocations: 3.938 kB / 0.5672 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.4471, allocations: 7.938 kB / 0.5673 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4471, allocations: 0 / 0.5673 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.4474, allocations: 193.2 kB / 0.5674 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.4475, allocations: 43.7 kB / 0.5675 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.691e-05/0.4475, allocations: 19.98 kB / 0.5675 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.4477, allocations: 4 kB / 0.5675 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.4477, allocations: 11.92 kB / 0.5675 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.4477, allocations: 4 kB / 0.5675 GB, free: 7.582 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000423/0.4481, allocations: 362.9 kB / 0.5679 GB, free: 7.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4481, allocations: 0 / 0.5679 GB, free: 7.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008106/0.4489, allocations: 259 kB / 0.5681 GB, free: 6.977 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.0008383/0.4498, allocations: 402.6 kB / 0.5685 GB, free: 6.574 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004152/0.4502, allocations: 218 kB / 0.5687 GB, free: 6.363 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.4502, allocations: 4.062 kB / 0.5687 GB, free: 6.359 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.544e-05/0.4502, allocations: 31.92 kB / 0.5687 GB, free: 6.328 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/0.4508, allocations: 98.34 kB / 0.5688 GB, free: 6.234 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.4519, allocations: 0.6811 MB / 0.5695 GB, free: 5.508 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.4521, allocations: 207.8 kB / 0.5697 GB, free: 5.285 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003755/0.4525, allocations: 131.1 kB / 0.5698 GB, free: 5.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.4526, allocations: 55.42 kB / 0.5699 GB, free: 5.105 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4526, allocations: 0 / 0.5699 GB, free: 5.105 MB / 414.1 MB Notification: Performance of Templates: time 0.01559/0.4682, allocations: 8.8 MB / 0.5785 GB, free: 12.37 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: 4.910602508112788] Failed to read output from testmodel.py, exit status != 0: 0.4772451352328062 0.492403713 0.061347295 Calling exit ...