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.001312/0.001312, allocations: 113.3 kB / 17.13 MB, free: 5.926 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.001444/0.001444, allocations: 204 kB / 20.09 MB, free: 2.977 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.489/1.489, 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 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.1441/0.1441, allocations: 23.86 MB / 333.4 MB, free: 1.211 MB / 254.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.001967/0.001967, allocations: 63.69 kB / 467.2 MB, free: 30.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1093, allocations: 59.82 MB / 0.5146 GB, free: 12.46 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.03596/0.1452, allocations: 24.05 MB / 0.5381 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01118/0.1564, allocations: 9.249 MB / 0.5471 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003746/0.1568, allocations: 11.88 kB / 0.5472 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006151/0.1574, allocations: 222.4 kB / 0.5474 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008263/0.1582, allocations: 357.3 kB / 0.5477 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003284/0.1615, allocations: 1.421 MB / 0.5491 GB, free: 9.172 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008906/0.1624, allocations: 0.6619 MB / 0.5497 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003414/0.1627, allocations: 209.2 kB / 0.5499 GB, free: 8.293 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003536/0.1631, allocations: 331 kB / 0.5503 GB, free: 7.969 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004647/0.1635, allocations: 346.9 kB / 0.5506 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.23e-05/0.1636, allocations: 36 kB / 0.5506 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.1656, allocations: 0.8345 MB / 0.5514 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.1658, allocations: 123.6 kB / 0.5516 GB, free: 6.637 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000258/0.166, allocations: 254.8 kB / 0.5518 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002196/0.1682, allocations: 1.537 MB / 0.5533 GB, free: 4.844 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1682, allocations: 4 kB / 0.5533 GB, free: 4.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1682, allocations: 0 / 0.5533 GB, free: 4.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.1683, allocations: 0 / 0.5533 GB, free: 4.84 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.001412/0.1697, allocations: 0.9603 MB / 0.5542 GB, free: 3.828 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1697, allocations: 12.03 kB / 0.5543 GB, free: 3.816 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007893/0.1705, allocations: 156.3 kB / 0.5544 GB, free: 3.664 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000662/0.1712, allocations: 462.2 kB / 0.5548 GB, free: 3.172 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.1712, allocations: 32.97 kB / 0.5549 GB, free: 3.141 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.237e-05/0.1713, allocations: 32.12 kB / 0.5549 GB, free: 3.109 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008405/0.1721, allocations: 0.526 MB / 0.5554 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1721, allocations: 0 / 0.5554 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.366e-05/0.1722, allocations: 20 kB / 0.5554 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.1722, allocations: 8 kB / 0.5554 GB, free: 2.523 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.1734, allocations: 0.8024 MB / 0.5562 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00257/0.176, allocations: 1.89 MB / 0.5581 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.1764, allocations: 198.4 kB / 0.5583 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.1766, allocations: 124.8 kB / 0.5584 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003378/0.18, allocations: 2.722 MB / 0.561 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.1801, allocations: 34.56 kB / 0.5611 GB, free: 12.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 1.183e-06/0.1801, allocations: 0 / 0.5611 GB, free: 12.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006413/0.1807, allocations: 293.2 kB / 0.5614 GB, free: 12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.1807, allocations: 51.41 kB / 0.5614 GB, free: 11.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005357/0.1813, allocations: 486.7 kB / 0.5619 GB, free: 11.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.1813, allocations: 33.64 kB / 0.5619 GB, free: 11.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.1815, allocations: 300 kB / 0.5622 GB, free: 11.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.391e-05/0.1816, allocations: 67.47 kB / 0.5622 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.1817, allocations: 94.08 kB / 0.5623 GB, free: 10.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1819, allocations: 362.7 kB / 0.5627 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.1821, allocations: 88.83 kB / 0.5628 GB, free: 10.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.1824, allocations: 357.2 kB / 0.5631 GB, free: 10.03 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006134/0.1831, allocations: 0.4925 MB / 0.5636 GB, free: 9.402 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.1831, allocations: 4 kB / 0.5636 GB, free: 9.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007868/0.1838, allocations: 489.5 kB / 0.5641 GB, free: 8.914 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.1839, allocations: 12 kB / 0.5641 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.1839, allocations: 8 kB / 0.5641 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/0.1839, allocations: 16 kB / 0.5641 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.1842, allocations: 115.8 kB / 0.5642 GB, free: 8.766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/0.1843, allocations: 20 kB / 0.5642 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.1845, allocations: 55.62 kB / 0.5643 GB, free: 8.691 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.1846, allocations: 39.92 kB / 0.5643 GB, free: 8.652 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.0001896/0.1848, allocations: 182.6 kB / 0.5645 GB, free: 8.465 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.914e-05/0.1849, allocations: 51.67 kB / 0.5645 GB, free: 8.414 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007161/0.1856, allocations: 391.9 kB / 0.5649 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1856, allocations: 4 kB / 0.5649 GB, free: 7.984 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1856, allocations: 0 / 0.5649 GB, free: 7.984 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1856, allocations: 0 / 0.5649 GB, free: 7.984 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000822/0.1864, allocations: 0.7133 MB / 0.5656 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1864, allocations: 4 kB / 0.5656 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.404e-05/0.1865, allocations: 19.86 kB / 0.5656 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.1865, allocations: 4 kB / 0.5656 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.1865, allocations: 3.938 kB / 0.5656 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.1865, allocations: 7.938 kB / 0.5656 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1865, allocations: 0 / 0.5656 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.1868, allocations: 201.2 kB / 0.5658 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.1869, allocations: 136.7 kB / 0.566 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.271e-05/0.187, allocations: 7.953 kB / 0.566 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.1871, allocations: 7.984 kB / 0.566 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.1871, allocations: 7.938 kB / 0.566 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.1871, allocations: 8 kB / 0.566 GB, free: 6.742 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000491/0.1876, allocations: 410.8 kB / 0.5664 GB, free: 6.344 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1876, allocations: 0 / 0.5664 GB, free: 6.344 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007399/0.1884, allocations: 251.1 kB / 0.5666 GB, free: 6.098 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.0006864/0.189, allocations: 414.1 kB / 0.567 GB, free: 5.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004078/0.1894, allocations: 217.4 kB / 0.5672 GB, free: 5.469 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1894, allocations: 0 / 0.5672 GB, free: 5.469 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.38e-05/0.1895, allocations: 35.92 kB / 0.5673 GB, free: 5.434 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006085/0.1901, allocations: 122.2 kB / 0.5674 GB, free: 5.316 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.1912, allocations: 0.7125 MB / 0.5681 GB, free: 4.551 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.1917, allocations: 0.8152 MB / 0.5689 GB, free: 3.711 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.1918, allocations: 87.39 kB / 0.569 GB, free: 3.625 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1918, allocations: 4 kB / 0.569 GB, free: 3.621 MB / 430.1 MB Notification: Performance of Templates: time 0.01268/0.2045, allocations: 8.137 MB / 0.5769 GB, free: 11.5 MB / 446.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.71314149099635] Failed to read output from testmodel.py, exit status != 0: 0.21232074001454748 0.443421732 0.053927226 Calling exit ...