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.001586/0.001586, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001853/0.001853, allocations: 221.1 kB / 23 MB, free: 4.914 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.1364/0.1364, allocations: 23.89 MB / 337.1 MB, free: 11.01 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.002026/0.002026, allocations: 71.91 kB / 472.4 MB, free: 7.047 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.338, allocations: 59.86 MB / 0.5198 GB, free: 9.738 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.07129/0.4093, allocations: 24.16 MB / 0.5433 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.4207, allocations: 8.081 MB / 0.5512 GB, free: 7.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005861/0.4213, allocations: 11.88 kB / 0.5513 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008591/0.4222, allocations: 196.2 kB / 0.5514 GB, free: 7.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.4236, allocations: 366.5 kB / 0.5518 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004554/0.4281, allocations: 1.441 MB / 0.5532 GB, free: 6.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.4293, allocations: 0.6648 MB / 0.5538 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000344/0.4296, allocations: 192.8 kB / 0.554 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003797/0.43, allocations: 327.8 kB / 0.5543 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005138/0.4305, allocations: 332.7 kB / 0.5547 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.4306, allocations: 36 kB / 0.5547 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002289/0.4329, allocations: 0.7778 MB / 0.5555 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.4331, allocations: 116.5 kB / 0.5556 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002594/0.4334, allocations: 224 kB / 0.5558 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.436, allocations: 1.52 MB / 0.5573 GB, free: 2.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.436, allocations: 0 / 0.5573 GB, free: 2.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.436, allocations: 0 / 0.5573 GB, free: 2.648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.436, allocations: 0.7031 kB / 0.5573 GB, free: 2.648 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.001466/0.4375, allocations: 0.8899 MB / 0.5581 GB, free: 1.789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.4375, allocations: 8.031 kB / 0.5581 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007671/0.4383, allocations: 163.5 kB / 0.5583 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007527/0.439, allocations: 393.9 kB / 0.5587 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.439, allocations: 29.03 kB / 0.5587 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.913e-05/0.4391, allocations: 32.83 kB / 0.5587 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009068/0.44, allocations: 0.537 MB / 0.5593 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.44, allocations: 0.9375 kB / 0.5593 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/0.4401, allocations: 12 kB / 0.5593 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.4401, allocations: 11.94 kB / 0.5593 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.4413, allocations: 0.7908 MB / 0.56 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/0.4439, allocations: 1.726 MB / 0.5617 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004378/0.4443, allocations: 205.1 kB / 0.5619 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.4446, allocations: 126.2 kB / 0.5621 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002852/0.4474, allocations: 1.279 MB / 0.5633 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.4475, allocations: 35.31 kB / 0.5633 GB, free: 13.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.4475, allocations: 0 / 0.5633 GB, free: 13.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006336/0.4481, allocations: 296.9 kB / 0.5636 GB, free: 12.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.4481, allocations: 51.41 kB / 0.5637 GB, free: 12.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005257/0.4487, allocations: 450.1 kB / 0.5641 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.4487, allocations: 25.7 kB / 0.5641 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.4489, allocations: 309.6 kB / 0.5644 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.791e-05/0.449, allocations: 67.48 kB / 0.5645 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.4491, allocations: 98.08 kB / 0.5646 GB, free: 11.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.4493, allocations: 354.7 kB / 0.5649 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.4495, allocations: 96.77 kB / 0.565 GB, free: 11.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.4499, allocations: 361.1 kB / 0.5653 GB, free: 10.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006624/0.4505, allocations: 0.4886 MB / 0.5658 GB, free: 10.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.4506, allocations: 4 kB / 0.5658 GB, free: 10.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008038/0.4514, allocations: 492.8 kB / 0.5663 GB, free: 9.746 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.4514, allocations: 8 kB / 0.5663 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.4514, allocations: 12 kB / 0.5663 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/0.4514, allocations: 12.78 kB / 0.5663 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.4518, allocations: 107.8 kB / 0.5664 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.397e-05/0.4518, allocations: 27.92 kB / 0.5665 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.452, allocations: 47.62 kB / 0.5665 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.255e-05/0.4521, allocations: 36 kB / 0.5665 GB, free: 9.5 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.000215/0.4523, allocations: 181.5 kB / 0.5667 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.058e-05/0.4524, allocations: 43.72 kB / 0.5668 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007404/0.4531, allocations: 395.5 kB / 0.5671 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.4531, allocations: 0 / 0.5671 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4531, allocations: 7.938 kB / 0.5671 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4531, allocations: 0 / 0.5671 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007893/0.4539, allocations: 0.6272 MB / 0.5678 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4539, allocations: 0 / 0.5678 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.069e-05/0.454, allocations: 15.94 kB / 0.5678 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.454, allocations: 0 / 0.5678 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.454, allocations: 15.92 kB / 0.5678 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.454, allocations: 80 / 0.5678 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.454, allocations: 7.984 kB / 0.5678 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.4543, allocations: 193.2 kB / 0.568 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/0.4544, allocations: 43.7 kB / 0.568 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.54e-05/0.4545, allocations: 19.81 kB / 0.568 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.4546, allocations: 4 kB / 0.568 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.4546, allocations: 4 kB / 0.568 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.4546, allocations: 4 kB / 0.568 GB, free: 7.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004231/0.4551, allocations: 362.8 kB / 0.5684 GB, free: 7.461 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4551, allocations: 0 / 0.5684 GB, free: 7.461 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008574/0.4559, allocations: 259 kB / 0.5686 GB, free: 7.207 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.0006905/0.4566, allocations: 406.6 kB / 0.569 GB, free: 6.801 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003978/0.457, allocations: 221.5 kB / 0.5692 GB, free: 6.586 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.457, allocations: 0 / 0.5692 GB, free: 6.586 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.557e-05/0.4571, allocations: 35.92 kB / 0.5693 GB, free: 6.551 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.4576, allocations: 107.8 kB / 0.5694 GB, free: 6.453 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.4588, allocations: 0.6986 MB / 0.5701 GB, free: 5.703 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.459, allocations: 211.8 kB / 0.5703 GB, free: 5.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.4591, allocations: 83.39 kB / 0.5703 GB, free: 5.395 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4591, allocations: 0 / 0.5703 GB, free: 5.395 MB / 414.1 MB Notification: Performance of Templates: time 0.01244/0.4716, allocations: 7.906 MB / 0.5781 GB, free: 13.5 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.036020532716066] Failed to read output from testmodel.py, exit status != 0: 0.4803419169038534 0.49584046 0.056640704999999944 Calling exit ...