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.00144/0.00144, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.001391/0.001391, allocations: 217.8 kB / 20.1 MB, free: 3.051 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.465/1.465, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1353/0.1353, allocations: 23.9 MB / 333.4 MB, free: 1.164 MB / 254.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.002081/0.002081, allocations: 64.56 kB / 467.2 MB, free: 30.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09042/0.0925, allocations: 59.84 MB / 0.5147 GB, free: 12.39 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.03651/0.129, allocations: 24.32 MB / 0.5385 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.1404, allocations: 9.234 MB / 0.5475 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003641/0.1408, allocations: 11.88 kB / 0.5475 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006369/0.1414, allocations: 222.4 kB / 0.5477 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008936/0.1423, allocations: 365.2 kB / 0.548 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003319/0.1456, allocations: 1.424 MB / 0.5494 GB, free: 8.828 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008884/0.1465, allocations: 0.6697 MB / 0.5501 GB, free: 8.152 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003194/0.1468, allocations: 193.5 kB / 0.5503 GB, free: 7.957 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003457/0.1472, allocations: 331.1 kB / 0.5506 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004867/0.1477, allocations: 358.7 kB / 0.5509 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.956e-05/0.1477, allocations: 36 kB / 0.551 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.1497, allocations: 0.8346 MB / 0.5518 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.1499, allocations: 119.6 kB / 0.5519 GB, free: 6.293 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003022/0.1502, allocations: 254.7 kB / 0.5521 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002321/0.1525, allocations: 1.525 MB / 0.5536 GB, free: 4.512 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1525, allocations: 3.938 kB / 0.5536 GB, free: 4.508 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1525, allocations: 0 / 0.5536 GB, free: 4.508 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.1525, allocations: 0 / 0.5536 GB, free: 4.508 MB / 414.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.001503/0.154, allocations: 0.9681 MB / 0.5546 GB, free: 3.488 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.1541, allocations: 8.031 kB / 0.5546 GB, free: 3.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008353/0.1549, allocations: 164.2 kB / 0.5547 GB, free: 3.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00069/0.1556, allocations: 458.3 kB / 0.5552 GB, free: 2.832 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.1556, allocations: 21.03 kB / 0.5552 GB, free: 2.812 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.358e-05/0.1557, allocations: 32.12 kB / 0.5552 GB, free: 2.781 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008941/0.1566, allocations: 0.5377 MB / 0.5558 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1566, allocations: 0 / 0.5558 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.051e-05/0.1566, allocations: 12 kB / 0.5558 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.1567, allocations: 8 kB / 0.5558 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.1579, allocations: 0.8063 MB / 0.5566 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002637/0.1606, allocations: 1.89 MB / 0.5584 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004406/0.161, allocations: 202.5 kB / 0.5586 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.1613, allocations: 120.8 kB / 0.5587 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003485/0.1648, allocations: 2.726 MB / 0.5614 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.1648, allocations: 34.56 kB / 0.5614 GB, free: 11.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.1648, allocations: 4 kB / 0.5614 GB, free: 11.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006243/0.1654, allocations: 297.2 kB / 0.5617 GB, free: 11.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.1655, allocations: 59.34 kB / 0.5618 GB, free: 11.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005346/0.166, allocations: 474.8 kB / 0.5622 GB, free: 11.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.1661, allocations: 25.7 kB / 0.5622 GB, free: 11.08 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.1663, allocations: 304 kB / 0.5625 GB, free: 10.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.088e-05/0.1664, allocations: 63.47 kB / 0.5626 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.1665, allocations: 98.08 kB / 0.5627 GB, free: 10.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1667, allocations: 362.7 kB / 0.563 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.1669, allocations: 88.83 kB / 0.5631 GB, free: 10.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/0.1673, allocations: 357.2 kB / 0.5634 GB, free: 9.688 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000634/0.1679, allocations: 0.4924 MB / 0.5639 GB, free: 9.062 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1679, allocations: 4 kB / 0.5639 GB, free: 9.059 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008437/0.1688, allocations: 496.8 kB / 0.5644 GB, free: 8.566 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.1688, allocations: 8 kB / 0.5644 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.1688, allocations: 15.98 kB / 0.5644 GB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.917e-05/0.1688, allocations: 12.75 kB / 0.5644 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.1692, allocations: 107.8 kB / 0.5645 GB, free: 8.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.1692, allocations: 19.94 kB / 0.5646 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.1694, allocations: 55.56 kB / 0.5646 GB, free: 8.352 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/0.1695, allocations: 43.92 kB / 0.5647 GB, free: 8.309 MB / 430.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.000212/0.1697, allocations: 170.5 kB / 0.5648 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-05/0.1698, allocations: 51.66 kB / 0.5649 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007628/0.1706, allocations: 403.9 kB / 0.5653 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1706, allocations: 0 / 0.5653 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1706, allocations: 0 / 0.5653 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1706, allocations: 4 kB / 0.5653 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008909/0.1715, allocations: 0.7211 MB / 0.566 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1715, allocations: 4 kB / 0.566 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.293e-05/0.1715, allocations: 12.12 kB / 0.566 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/0.1715, allocations: 11.98 kB / 0.566 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.537e-06/0.1716, allocations: 3.938 kB / 0.566 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1716, allocations: 7.938 kB / 0.566 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1716, allocations: 3.984 kB / 0.566 GB, free: 6.801 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.1718, allocations: 205 kB / 0.5662 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.172, allocations: 124.8 kB / 0.5663 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.046e-05/0.172, allocations: 15.89 kB / 0.5663 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.1722, allocations: 4 kB / 0.5663 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.1722, allocations: 4 kB / 0.5663 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1722, allocations: 4.125 kB / 0.5663 GB, free: 6.398 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005017/0.1727, allocations: 418.8 kB / 0.5667 GB, free: 5.992 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1727, allocations: 0 / 0.5667 GB, free: 5.992 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007727/0.1735, allocations: 251.2 kB / 0.567 GB, free: 5.746 MB / 430.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.0006988/0.1742, allocations: 394.1 kB / 0.5674 GB, free: 5.348 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004421/0.1746, allocations: 229.5 kB / 0.5676 GB, free: 5.125 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1746, allocations: 0 / 0.5676 GB, free: 5.125 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.083e-05/0.1747, allocations: 36.8 kB / 0.5676 GB, free: 5.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005926/0.1753, allocations: 123.6 kB / 0.5677 GB, free: 4.973 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.1765, allocations: 0.7166 MB / 0.5684 GB, free: 4.203 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.177, allocations: 0.8074 MB / 0.5692 GB, free: 3.371 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.1771, allocations: 103.3 kB / 0.5693 GB, free: 3.27 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1771, allocations: 0 / 0.5693 GB, free: 3.27 MB / 430.1 MB Notification: Performance of Templates: time 0.01257/0.1897, allocations: 8.135 MB / 0.5773 GB, free: 11.15 MB / 446.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: 8.1352636529773] Failed to read output from testmodel.py, exit status != 0: 0.19750719598960131 0.38419508700000005 0.056304434 Calling exit ...