Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.002076/0.002076, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.001982/0.001982, allocations: 216 kB / 23 MB, free: 4.949 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1384/0.1384, allocations: 23.88 MB / 337.1 MB, free: 11.07 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002087/0.002087, allocations: 67.91 kB / 472.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3585, allocations: 59.86 MB / 0.5198 GB, free: 9.73 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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 2.0.0/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.07004/0.4286, allocations: 24.08 MB / 0.5433 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01151/0.4401, allocations: 8.078 MB / 0.5512 GB, free: 8.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005437/0.4406, allocations: 15.81 kB / 0.5512 GB, free: 7.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006674/0.4413, allocations: 192.1 kB / 0.5514 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.4424, allocations: 366.6 kB / 0.5517 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004346/0.4468, allocations: 1.447 MB / 0.5531 GB, free: 6.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.4479, allocations: 0.6625 MB / 0.5538 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003423/0.4483, allocations: 195 kB / 0.554 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003644/0.4486, allocations: 328.4 kB / 0.5543 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000507/0.4491, allocations: 354.2 kB / 0.5546 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.891e-05/0.4492, allocations: 36 kB / 0.5546 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002288/0.4515, allocations: 0.8015 MB / 0.5554 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.4517, allocations: 116.7 kB / 0.5555 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.4519, allocations: 215.9 kB / 0.5557 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003046/0.455, allocations: 1.528 MB / 0.5572 GB, free: 2.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.455, allocations: 0 / 0.5572 GB, free: 2.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.455, allocations: 0 / 0.5572 GB, free: 2.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.455, allocations: 0 / 0.5572 GB, free: 2.652 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.001523/0.4565, allocations: 0.8824 MB / 0.5581 GB, free: 1.801 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.4566, allocations: 8.547 kB / 0.5581 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007813/0.4574, allocations: 166.8 kB / 0.5583 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007696/0.4581, allocations: 402.5 kB / 0.5586 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.4582, allocations: 21.03 kB / 0.5587 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.008e-05/0.4582, allocations: 36.12 kB / 0.5587 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00092/0.4592, allocations: 0.5301 MB / 0.5592 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.4592, allocations: 0 / 0.5592 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-05/0.4592, allocations: 16 kB / 0.5592 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.4592, allocations: 8 kB / 0.5592 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.4604, allocations: 0.7912 MB / 0.56 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002647/0.4631, allocations: 1.733 MB / 0.5617 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.4635, allocations: 201.9 kB / 0.5619 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/0.4638, allocations: 126.5 kB / 0.562 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002875/0.4666, allocations: 1.283 MB / 0.5633 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.4667, allocations: 34.56 kB / 0.5633 GB, free: 13.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.4667, allocations: 0 / 0.5633 GB, free: 13.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006455/0.4673, allocations: 293.5 kB / 0.5636 GB, free: 12.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.4674, allocations: 56.11 kB / 0.5636 GB, free: 12.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005392/0.4679, allocations: 445.6 kB / 0.5641 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.4679, allocations: 33.7 kB / 0.5641 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000237/0.4682, allocations: 305.3 kB / 0.5644 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.384e-05/0.4682, allocations: 63.47 kB / 0.5644 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.4684, allocations: 94.08 kB / 0.5645 GB, free: 11.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.4685, allocations: 362.7 kB / 0.5649 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.4687, allocations: 84.83 kB / 0.565 GB, free: 11.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.4691, allocations: 369 kB / 0.5653 GB, free: 10.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006109/0.4697, allocations: 0.4964 MB / 0.5658 GB, free: 10.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.4697, allocations: 0 / 0.5658 GB, free: 10.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007544/0.4704, allocations: 481.4 kB / 0.5663 GB, free: 9.754 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4705, allocations: 12.25 kB / 0.5663 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.4705, allocations: 8 kB / 0.5663 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.4705, allocations: 12 kB / 0.5663 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.4708, allocations: 115.8 kB / 0.5664 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.143e-05/0.4709, allocations: 19.92 kB / 0.5664 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.4711, allocations: 55.62 kB / 0.5665 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.713e-05/0.4712, allocations: 32 kB / 0.5665 GB, free: 9.504 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.0002056/0.4714, allocations: 185.5 kB / 0.5667 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.423e-05/0.4715, allocations: 39.72 kB / 0.5667 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007037/0.4722, allocations: 391.6 kB / 0.5671 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.4722, allocations: 4 kB / 0.5671 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4722, allocations: 0 / 0.5671 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4722, allocations: 0 / 0.5671 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008263/0.473, allocations: 0.6386 MB / 0.5677 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.473, allocations: 7.938 kB / 0.5677 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.705e-05/0.4731, allocations: 8 kB / 0.5677 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.4731, allocations: 4 kB / 0.5677 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.4731, allocations: 12.11 kB / 0.5677 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.4731, allocations: 4 kB / 0.5678 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4731, allocations: 3.938 kB / 0.5678 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.4734, allocations: 193.2 kB / 0.5679 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.209e-05/0.4734, allocations: 43.7 kB / 0.568 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.812e-05/0.4735, allocations: 7.938 kB / 0.568 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.4736, allocations: 0 / 0.568 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.4736, allocations: 11.94 kB / 0.568 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.4736, allocations: 4 kB / 0.568 GB, free: 7.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000405/0.4741, allocations: 362.8 kB / 0.5684 GB, free: 7.469 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4741, allocations: 4 kB / 0.5684 GB, free: 7.465 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009026/0.475, allocations: 267 kB / 0.5686 GB, free: 7.203 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.0007125/0.4757, allocations: 398.6 kB / 0.569 GB, free: 6.805 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004295/0.4761, allocations: 222 kB / 0.5692 GB, free: 6.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4761, allocations: 3.938 kB / 0.5692 GB, free: 6.586 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.359e-05/0.4762, allocations: 31.92 kB / 0.5692 GB, free: 6.555 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.4767, allocations: 119.2 kB / 0.5693 GB, free: 6.449 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.4778, allocations: 0.7024 MB / 0.57 GB, free: 5.695 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.478, allocations: 211.8 kB / 0.5702 GB, free: 5.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.4782, allocations: 83.39 kB / 0.5703 GB, free: 5.387 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4782, allocations: 0 / 0.5703 GB, free: 5.387 MB / 414.1 MB Notification: Performance of Templates: time 0.012/0.4902, allocations: 7.887 MB / 0.578 GB, free: 13.51 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.161999450996518] Failed to read output from testmodel.py, exit status != 0: 0.4991638020146638 0.513032098 0.055002132 Calling exit ...