Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.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.001639/0.001639, 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.001841/0.001841, allocations: 215.5 kB / 22.25 MB, free: 4.855 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.812 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.1487/0.1487, allocations: 23.99 MB / 336.4 MB, free: 10.86 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") [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.002024/0.002024, allocations: 71.83 kB / 471.8 MB, free: 6.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3489, allocations: 59.89 MB / 0.5192 GB, free: 9.688 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66: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:14335:7-14335:66: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.SimpleReaction): time 0.06876/0.4176, allocations: 24.83 MB / 0.5435 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.4284, allocations: 7.052 MB / 0.5503 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005906/0.4289, allocations: 15.88 kB / 0.5504 GB, free: 8.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005736/0.4295, allocations: 169.7 kB / 0.5505 GB, free: 8.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.4312, allocations: 0.7058 MB / 0.5512 GB, free: 7.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002626/0.4338, allocations: 1.051 MB / 0.5522 GB, free: 6.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.4351, allocations: 0.9374 MB / 0.5531 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005675/0.4357, allocations: 419.6 kB / 0.5535 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005294/0.4362, allocations: 469.3 kB / 0.554 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007023/0.4369, allocations: 453.5 kB / 0.5544 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.437, allocations: 80 kB / 0.5545 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001906/0.4389, allocations: 0.8208 MB / 0.5553 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002355/0.4392, allocations: 194.3 kB / 0.5555 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003909/0.4396, allocations: 355.4 kB / 0.5558 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002864/0.4424, allocations: 1.816 MB / 0.5576 GB, free: 1.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4424, allocations: 0 / 0.5576 GB, free: 1.895 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4424, allocations: 0 / 0.5576 GB, free: 1.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.4424, allocations: 0 / 0.5576 GB, free: 1.895 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002072/0.4445, allocations: 1.124 MB / 0.5587 GB, free: 0.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.4446, allocations: 8.031 kB / 0.5587 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006338/0.4452, allocations: 150.8 kB / 0.5589 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000816/0.446, allocations: 426.3 kB / 0.5593 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.4461, allocations: 102.6 kB / 0.5594 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.4462, allocations: 69.12 kB / 0.5594 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.4476, allocations: 0.7876 MB / 0.5602 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.4477, allocations: 3.938 kB / 0.5602 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.932e-05/0.4477, allocations: 28.75 kB / 0.5602 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.4478, allocations: 20 kB / 0.5602 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.4492, allocations: 0.8658 MB / 0.5611 GB, free: 14.68 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003831/0.4531, allocations: 1.989 MB / 0.563 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.4546, allocations: 0.8045 MB / 0.5638 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004466/0.455, allocations: 283.2 kB / 0.5641 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003249/0.4583, allocations: 1.5 MB / 0.5656 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.4583, allocations: 38.56 kB / 0.5656 GB, free: 10.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.264e-06/0.4583, allocations: 8 kB / 0.5656 GB, free: 10.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.00248/0.4608, allocations: 1.17 MB / 0.5667 GB, free: 8.855 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.4608, allocations: 55.41 kB / 0.5668 GB, free: 8.789 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004623/0.4613, allocations: 401.7 kB / 0.5672 GB, free: 8.391 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/0.4613, allocations: 33.7 kB / 0.5672 GB, free: 8.352 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.4616, allocations: 384 kB / 0.5676 GB, free: 7.969 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.4618, allocations: 170.6 kB / 0.5677 GB, free: 7.801 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.4619, allocations: 134.6 kB / 0.5679 GB, free: 7.664 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.4621, allocations: 350.8 kB / 0.5682 GB, free: 7.312 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.4624, allocations: 149.9 kB / 0.5683 GB, free: 7.164 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004906/0.4629, allocations: 392.3 kB / 0.5687 GB, free: 6.676 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008303/0.4637, allocations: 0.5786 MB / 0.5693 GB, free: 5.988 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.4637, allocations: 4 kB / 0.5693 GB, free: 5.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00103/0.4648, allocations: 0.6124 MB / 0.5699 GB, free: 5.363 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4648, allocations: 8.969 kB / 0.5699 GB, free: 5.355 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.4648, allocations: 8 kB / 0.5699 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.582e-05/0.4648, allocations: 19.94 kB / 0.5699 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007222/0.4656, allocations: 203.7 kB / 0.5701 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/0.4656, allocations: 15.94 kB / 0.5701 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.4659, allocations: 27.98 kB / 0.5702 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.286e-05/0.4659, allocations: 32 kB / 0.5702 GB, free: 5.055 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (83): * Single equations (assignments): 83 * 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.000273/0.4662, allocations: 205.6 kB / 0.5704 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.323e-05/0.4663, allocations: 55.66 kB / 0.5704 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009888/0.4673, allocations: 0.4895 MB / 0.5709 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.4673, allocations: 7.938 kB / 0.5709 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4673, allocations: 3.938 kB / 0.5709 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.4673, allocations: 3.984 kB / 0.5709 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007374/0.468, allocations: 482.5 kB / 0.5714 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.468, allocations: 0 / 0.5714 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005785/0.4686, allocations: 144 kB / 0.5715 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.4686, allocations: 0 / 0.5715 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.4687, allocations: 16 kB / 0.5715 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.4687, allocations: 11.94 kB / 0.5715 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.4687, allocations: 7.922 kB / 0.5716 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.4698, allocations: 0.7186 MB / 0.5723 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.47, allocations: 79.67 kB / 0.5723 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.74e-05/0.47, allocations: 15.98 kB / 0.5724 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.4702, allocations: 12 kB / 0.5724 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.08e-05/0.4703, allocations: 48.25 kB / 0.5724 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/0.4703, allocations: 16 kB / 0.5724 GB, free: 2.672 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003017/0.4707, allocations: 263.1 kB / 0.5727 GB, free: 2.414 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4707, allocations: 0 / 0.5727 GB, free: 2.414 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009894/0.4716, allocations: 327.1 kB / 0.573 GB, free: 2.094 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.logn) * 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 (53): * Single equations (assignments): 53 * 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.0007885/0.4724, allocations: 441.9 kB / 0.5734 GB, free: 1.648 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007128/0.4731, allocations: 412.9 kB / 0.5738 GB, free: 1.242 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.4731, allocations: 4 kB / 0.5738 GB, free: 1.238 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002868/0.4734, allocations: 188.2 kB / 0.574 GB, free: 1.059 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006926/0.4741, allocations: 129.8 kB / 0.5741 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.4762, allocations: 1.203 MB / 0.5753 GB, free: 15.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.4766, allocations: 300.1 kB / 0.5756 GB, free: 15.37 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003943/0.477, allocations: 116.3 kB / 0.5757 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.4771, allocations: 71.41 kB / 0.5757 GB, free: 15.19 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4771, allocations: 4 kB / 0.5758 GB, free: 15.18 MB / 430.1 MB Notification: Performance of Templates: time 0.02089/0.498, allocations: 10.96 MB / 0.5865 GB, free: 4.328 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2790231592953205] Failed to read output from testmodel.py, exit status != 0: 0.5069829970598221 0.522668099 0.07703353699999994 Calling exit ...