Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 106.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 190.7 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.6 MB / 249.4 MB, free: 3.129 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.09913/0.09913, allocations: 15.54 MB / 320 MB, free: 13.11 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 64.39 kB / 448.2 MB, free: 46.33 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1439, allocations: 56.55 MB / 0.4929 GB, free: 19.08 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.CheckSubstancesData.SimpleReaction): time 0.00435/0.1483, allocations: 3.011 MB / 0.4959 GB, free: 16.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006878/0.1552, allocations: 6.31 MB / 0.502 GB, free: 11.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005237/0.1557, allocations: 8.062 kB / 0.5021 GB, free: 11.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006496/0.1563, allocations: 154.5 kB / 0.5022 GB, free: 11.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008796/0.1572, allocations: 251 kB / 0.5024 GB, free: 11.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.1604, allocations: 0.9635 MB / 0.5034 GB, free: 10.4 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007291/0.1611, allocations: 494.6 kB / 0.5039 GB, free: 9.918 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/0.1614, allocations: 136.6 kB / 0.504 GB, free: 9.781 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.1615, allocations: 231.3 kB / 0.5042 GB, free: 9.555 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.1619, allocations: 255.2 kB / 0.5044 GB, free: 9.305 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.919e-05/0.1619, allocations: 28 kB / 0.5045 GB, free: 9.277 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.1637, allocations: 0.5538 MB / 0.505 GB, free: 8.723 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.1638, allocations: 87.67 kB / 0.5051 GB, free: 8.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.164, allocations: 183 kB / 0.5053 GB, free: 8.457 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.1655, allocations: 1.027 MB / 0.5063 GB, free: 7.426 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1655, allocations: 0 / 0.5063 GB, free: 7.426 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1655, allocations: 0 / 0.5063 GB, free: 7.426 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.1655, allocations: 0 / 0.5063 GB, free: 7.426 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009334/0.1664, allocations: 0.7662 MB / 0.507 GB, free: 6.609 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1665, allocations: 12.03 kB / 0.507 GB, free: 6.598 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004979/0.167, allocations: 112.4 kB / 0.5071 GB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005427/0.1675, allocations: 380.1 kB / 0.5075 GB, free: 6.082 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.1675, allocations: 12.81 kB / 0.5075 GB, free: 6.066 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.1676, allocations: 24.12 kB / 0.5075 GB, free: 6.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004982/0.1681, allocations: 385.8 kB / 0.5079 GB, free: 5.645 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1681, allocations: 4 kB / 0.5079 GB, free: 5.641 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.1681, allocations: 4 kB / 0.5079 GB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.1681, allocations: 8 kB / 0.5079 GB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006797/0.1688, allocations: 0.5475 MB / 0.5085 GB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.1703, allocations: 1.407 MB / 0.5098 GB, free: 3.602 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.1706, allocations: 154.5 kB / 0.51 GB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.1707, allocations: 92.81 kB / 0.5101 GB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001741/0.1724, allocations: 1.9 MB / 0.5119 GB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.1725, allocations: 38.56 kB / 0.512 GB, free: 1.152 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.1725, allocations: 0 / 0.512 GB, free: 1.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004485/0.1729, allocations: 220.6 kB / 0.5122 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.1729, allocations: 55.41 kB / 0.5122 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.1733, allocations: 373.6 kB / 0.5126 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.1733, allocations: 29.7 kB / 0.5126 GB, free: 468 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.1734, allocations: 235.9 kB / 0.5128 GB, free: 228 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.1734, allocations: 47.58 kB / 0.5129 GB, free: 180 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-05/0.1735, allocations: 69.66 kB / 0.5129 GB, free: 104 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1736, allocations: 350.8 kB / 0.5133 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1738, allocations: 67.91 kB / 0.5133 GB, free: 15.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.174, allocations: 236.9 kB / 0.5136 GB, free: 15.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.1745, allocations: 352.4 kB / 0.5139 GB, free: 14.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.1745, allocations: 4 kB / 0.5139 GB, free: 14.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005542/0.1751, allocations: 348.8 kB / 0.5142 GB, free: 14.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.1751, allocations: 8 kB / 0.5143 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.1751, allocations: 8.844 kB / 0.5143 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.1751, allocations: 8 kB / 0.5143 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.1754, allocations: 83.84 kB / 0.5143 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.1754, allocations: 11.94 kB / 0.5144 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.1756, allocations: 39.67 kB / 0.5144 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.232e-05/0.1756, allocations: 23.98 kB / 0.5144 GB, free: 14.4 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (35): * Single equations (assignments): 35 * 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.000181/0.1758, allocations: 153.7 kB / 0.5146 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/0.1759, allocations: 35.77 kB / 0.5146 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005795/0.1764, allocations: 291.5 kB / 0.5149 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1764, allocations: 0 / 0.5149 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1764, allocations: 0 / 0.5149 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1765, allocations: 7.938 kB / 0.5149 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007672/0.1772, allocations: 0.6235 MB / 0.5155 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.1772, allocations: 4 kB / 0.5155 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.588e-05/0.1773, allocations: 11.98 kB / 0.5155 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.1773, allocations: 7.938 kB / 0.5155 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1773, allocations: 4 kB / 0.5155 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1773, allocations: 7.938 kB / 0.5155 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1773, allocations: 0 / 0.5155 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.1775, allocations: 181.2 kB / 0.5157 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.1777, allocations: 120.8 kB / 0.5158 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.398e-05/0.1777, allocations: 7.953 kB / 0.5158 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.419e-05/0.1778, allocations: 4.125 kB / 0.5158 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.1778, allocations: 15.98 kB / 0.5158 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.1779, allocations: 4 kB / 0.5158 GB, free: 12.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000366/0.1782, allocations: 315.1 kB / 0.5161 GB, free: 12.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1782, allocations: 0 / 0.5161 GB, free: 12.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006177/0.1788, allocations: 171.4 kB / 0.5163 GB, free: 12.29 MB / 382.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.0005785/0.1794, allocations: 306.4 kB / 0.5166 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003364/0.1798, allocations: 164.4 kB / 0.5168 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1798, allocations: 0 / 0.5168 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.874e-05/0.1798, allocations: 31.92 kB / 0.5168 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005381/0.1803, allocations: 92.55 kB / 0.5169 GB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.1814, allocations: 0.5652 MB / 0.5174 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.1819, allocations: 0.7756 MB / 0.5182 GB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002781/0.1821, allocations: 94.98 kB / 0.5183 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.1822, allocations: 43.41 kB / 0.5183 GB, free: 10.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.333e-06/0.1822, allocations: 0 / 0.5183 GB, free: 10.16 MB / 382.1 MB Notification: Performance of Templates: time 0.0121/0.1943, allocations: 6.296 MB / 0.5245 GB, free: 3.914 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.188932351768017]