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.001814/0.001814, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002219/0.002219, allocations: 217.6 kB / 22.24 MB, free: 5.258 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.789 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.1679/0.1679, allocations: 23.93 MB / 336.4 MB, free: 10.9 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.002089/0.002089, allocations: 79 kB / 471.7 MB, free: 6.918 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4415, allocations: 59.86 MB / 0.5191 GB, free: 9.715 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.07519/0.5167, allocations: 24.09 MB / 0.5426 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.529, allocations: 8.078 MB / 0.5505 GB, free: 7.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007321/0.5297, allocations: 11.88 kB / 0.5505 GB, free: 7.902 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009063/0.5306, allocations: 200.3 kB / 0.5507 GB, free: 7.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.5325, allocations: 354.2 kB / 0.551 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006365/0.5389, allocations: 1.442 MB / 0.5525 GB, free: 6.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001781/0.5407, allocations: 0.6695 MB / 0.5531 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00061/0.5413, allocations: 190.6 kB / 0.5533 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006931/0.542, allocations: 335.6 kB / 0.5536 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009213/0.5429, allocations: 349.6 kB / 0.5539 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001847/0.5431, allocations: 36 kB / 0.554 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003203/0.5463, allocations: 0.7979 MB / 0.5548 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003238/0.5466, allocations: 123.8 kB / 0.5549 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00051/0.5471, allocations: 215.5 kB / 0.5551 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006052/0.5532, allocations: 1.52 MB / 0.5566 GB, free: 2.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.5532, allocations: 0.5156 kB / 0.5566 GB, free: 2.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5532, allocations: 0 / 0.5566 GB, free: 2.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.558e-05/0.5532, allocations: 4 kB / 0.5566 GB, free: 2.562 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.002929/0.5562, allocations: 0.8862 MB / 0.5574 GB, free: 1.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.5562, allocations: 8.875 kB / 0.5574 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.5573, allocations: 158.7 kB / 0.5576 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.5583, allocations: 398.5 kB / 0.558 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.5584, allocations: 25.03 kB / 0.558 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.5585, allocations: 32.12 kB / 0.558 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.5597, allocations: 0.5295 MB / 0.5585 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.5597, allocations: 0.6562 kB / 0.5585 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.414e-05/0.5598, allocations: 19.94 kB / 0.5586 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.5598, allocations: 8 kB / 0.5586 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.5613, allocations: 0.7907 MB / 0.5593 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00338/0.5647, allocations: 1.722 MB / 0.561 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005468/0.5653, allocations: 212.9 kB / 0.5612 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.5655, allocations: 126.8 kB / 0.5614 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003307/0.5689, allocations: 1.279 MB / 0.5626 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.5689, allocations: 39.36 kB / 0.5626 GB, free: 12.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.134e-06/0.5689, allocations: 0 / 0.5626 GB, free: 12.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.000803/0.5697, allocations: 293 kB / 0.5629 GB, free: 12.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.5698, allocations: 55.41 kB / 0.563 GB, free: 12.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007932/0.5705, allocations: 449.6 kB / 0.5634 GB, free: 12.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.5706, allocations: 33.7 kB / 0.5634 GB, free: 12.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.5709, allocations: 303.8 kB / 0.5637 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.159e-05/0.5709, allocations: 63.47 kB / 0.5638 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/0.5711, allocations: 98.08 kB / 0.5639 GB, free: 11.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.5714, allocations: 354.7 kB / 0.5642 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.5715, allocations: 88.81 kB / 0.5643 GB, free: 11.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000423/0.572, allocations: 369.1 kB / 0.5647 GB, free: 10.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006742/0.5726, allocations: 0.4964 MB / 0.5651 GB, free: 10.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.5726, allocations: 0 / 0.5651 GB, free: 10.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008585/0.5735, allocations: 481.3 kB / 0.5656 GB, free: 9.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.5735, allocations: 15.98 kB / 0.5656 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.5735, allocations: 8 kB / 0.5656 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/0.5736, allocations: 19.88 kB / 0.5656 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.5739, allocations: 115.8 kB / 0.5657 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.22e-05/0.5739, allocations: 15.94 kB / 0.5658 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.5743, allocations: 51.62 kB / 0.5658 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.344e-05/0.5743, allocations: 36.33 kB / 0.5658 GB, free: 9.402 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.0003338/0.5747, allocations: 185.5 kB / 0.566 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.252e-05/0.5747, allocations: 43.72 kB / 0.5661 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007736/0.5755, allocations: 391.6 kB / 0.5664 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.5755, allocations: 4 kB / 0.5664 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.5755, allocations: 3.984 kB / 0.5664 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5755, allocations: 0 / 0.5664 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009179/0.5764, allocations: 0.6233 MB / 0.5671 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.5764, allocations: 4.031 kB / 0.5671 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.104e-05/0.5765, allocations: 15.98 kB / 0.5671 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5765, allocations: 0 / 0.5671 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.5765, allocations: 7.938 kB / 0.5671 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.5765, allocations: 3.938 kB / 0.5671 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5765, allocations: 4 kB / 0.5671 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.5768, allocations: 189 kB / 0.5673 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.5769, allocations: 47.7 kB / 0.5673 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.577, allocations: 11.94 kB / 0.5673 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.5771, allocations: 4 kB / 0.5673 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.5771, allocations: 11.92 kB / 0.5673 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.5771, allocations: 4 kB / 0.5673 GB, free: 7.723 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004932/0.5776, allocations: 358.9 kB / 0.5677 GB, free: 7.375 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5776, allocations: 0 / 0.5677 GB, free: 7.375 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009744/0.5786, allocations: 263 kB / 0.5679 GB, free: 7.117 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.0008727/0.5795, allocations: 406.6 kB / 0.5683 GB, free: 6.711 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004492/0.5799, allocations: 217.9 kB / 0.5685 GB, free: 6.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5799, allocations: 4 kB / 0.5685 GB, free: 6.496 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.765e-05/0.58, allocations: 36.09 kB / 0.5686 GB, free: 6.461 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/0.5805, allocations: 103.3 kB / 0.5687 GB, free: 6.367 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.5818, allocations: 0.6815 MB / 0.5693 GB, free: 5.641 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.582, allocations: 207.8 kB / 0.5695 GB, free: 5.418 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003906/0.5824, allocations: 127.3 kB / 0.5697 GB, free: 5.297 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.5825, allocations: 55.41 kB / 0.5697 GB, free: 5.242 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5825, allocations: 0 / 0.5697 GB, free: 5.242 MB / 414.1 MB Notification: Performance of Templates: time 0.01647/0.599, allocations: 8.915 MB / 0.5784 GB, free: 12.39 MB / 430.1 MB " [Timeout remaining time 659] 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: 5.45713822869584] Failed to read output from testmodel.py, exit status != 0: 0.6085719419643283 0.624278313 0.067650448 Calling exit ...