Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.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.001826/0.001826, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.002146/0.002146, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.562/1.562, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.155/0.155, allocations: 23.85 MB / 333.4 MB, free: 1.227 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.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.001975/0.001975, allocations: 64.84 kB / 467.2 MB, free: 30.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1242, allocations: 59.83 MB / 0.5146 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.004908/0.1291, allocations: 3.01 MB / 0.5176 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008053/0.1371, allocations: 6.327 MB / 0.5238 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003351/0.1375, allocations: 11.88 kB / 0.5238 GB, free: 3.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005419/0.138, allocations: 162.8 kB / 0.5239 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006774/0.1387, allocations: 254.1 kB / 0.5242 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.141, allocations: 0.9626 MB / 0.5251 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007595/0.1418, allocations: 486.7 kB / 0.5256 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.1422, allocations: 152.5 kB / 0.5257 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003544/0.1425, allocations: 235.3 kB / 0.5259 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004736/0.143, allocations: 251.1 kB / 0.5262 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.69e-05/0.1431, allocations: 28 kB / 0.5262 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.1445, allocations: 0.5577 MB / 0.5267 GB, free: 0 / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.1447, allocations: 83.88 kB / 0.5268 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.1449, allocations: 187 kB / 0.527 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.147, allocations: 1.039 MB / 0.528 GB, free: 14.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.147, allocations: 0 / 0.528 GB, free: 14.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.147, allocations: 0 / 0.528 GB, free: 14.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.147, allocations: 0 / 0.528 GB, free: 14.69 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00141/0.1484, allocations: 0.7739 MB / 0.5288 GB, free: 13.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1485, allocations: 12.03 kB / 0.5288 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006223/0.1491, allocations: 112.4 kB / 0.5289 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006913/0.1498, allocations: 372.2 kB / 0.5292 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.1498, allocations: 16.81 kB / 0.5293 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.637e-05/0.1499, allocations: 20.12 kB / 0.5293 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006816/0.1505, allocations: 389.8 kB / 0.5297 GB, free: 12.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1506, allocations: 0 / 0.5297 GB, free: 12.9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.1506, allocations: 8 kB / 0.5297 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.1506, allocations: 8 kB / 0.5297 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009063/0.1515, allocations: 0.5436 MB / 0.5302 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.1537, allocations: 1.415 MB / 0.5316 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/0.154, allocations: 159.4 kB / 0.5317 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.1542, allocations: 88.81 kB / 0.5318 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002548/0.1568, allocations: 1.907 MB / 0.5337 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.1568, allocations: 34.56 kB / 0.5337 GB, free: 8.402 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.1568, allocations: 0 / 0.5337 GB, free: 8.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005467/0.1574, allocations: 221.4 kB / 0.5339 GB, free: 8.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.1574, allocations: 55.41 kB / 0.534 GB, free: 8.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004451/0.1578, allocations: 373.5 kB / 0.5343 GB, free: 7.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.1579, allocations: 33.7 kB / 0.5344 GB, free: 7.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.1581, allocations: 227.9 kB / 0.5346 GB, free: 7.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/0.1581, allocations: 51.59 kB / 0.5346 GB, free: 7.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.1582, allocations: 73.64 kB / 0.5347 GB, free: 7.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1584, allocations: 338.8 kB / 0.535 GB, free: 7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.1585, allocations: 67.95 kB / 0.5351 GB, free: 6.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.1588, allocations: 240.8 kB / 0.5353 GB, free: 6.609 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000479/0.1593, allocations: 356.4 kB / 0.5357 GB, free: 6.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1593, allocations: 4 kB / 0.5357 GB, free: 6.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006162/0.1599, allocations: 341.6 kB / 0.536 GB, free: 5.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.1599, allocations: 8 kB / 0.536 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.1599, allocations: 8.031 kB / 0.536 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.16, allocations: 15.94 kB / 0.536 GB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.1602, allocations: 79.84 kB / 0.5361 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.1602, allocations: 15.92 kB / 0.5361 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.1604, allocations: 43.61 kB / 0.5362 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.1605, allocations: 24 kB / 0.5362 GB, free: 5.637 MB / 398.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.0001717/0.1606, allocations: 157.7 kB / 0.5363 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-05/0.1607, allocations: 35.77 kB / 0.5364 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005678/0.1613, allocations: 279 kB / 0.5366 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1613, allocations: 0 / 0.5366 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1613, allocations: 0 / 0.5366 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.1613, allocations: 7.938 kB / 0.5366 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007665/0.1621, allocations: 0.6313 MB / 0.5373 GB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.1621, allocations: 4 kB / 0.5373 GB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.025e-05/0.1621, allocations: 8 kB / 0.5373 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.1621, allocations: 4 kB / 0.5373 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.1622, allocations: 0 / 0.5373 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.1622, allocations: 7.938 kB / 0.5373 GB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1622, allocations: 0 / 0.5373 GB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.1624, allocations: 181.3 kB / 0.5374 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1625, allocations: 120.8 kB / 0.5376 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.287e-05/0.1626, allocations: 7.938 kB / 0.5376 GB, free: 4.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.901e-05/0.1627, allocations: 8.125 kB / 0.5376 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.1627, allocations: 8 kB / 0.5376 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.1627, allocations: 8 kB / 0.5376 GB, free: 4.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003703/0.1631, allocations: 315.1 kB / 0.5379 GB, free: 3.715 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1631, allocations: 0 / 0.5379 GB, free: 3.715 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006359/0.1637, allocations: 171.4 kB / 0.5381 GB, free: 3.547 MB / 398.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.000668/0.1644, allocations: 322.2 kB / 0.5384 GB, free: 3.219 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003773/0.1648, allocations: 157.1 kB / 0.5385 GB, free: 3.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1648, allocations: 0 / 0.5385 GB, free: 3.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.585e-05/0.1648, allocations: 32.3 kB / 0.5385 GB, free: 3.035 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005464/0.1654, allocations: 85.47 kB / 0.5386 GB, free: 2.957 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.1665, allocations: 0.5786 MB / 0.5392 GB, free: 2.328 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.1669, allocations: 0.7678 MB / 0.5399 GB, free: 1.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.167, allocations: 67.39 kB / 0.54 GB, free: 1.465 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.167, allocations: 4 kB / 0.54 GB, free: 1.461 MB / 398.1 MB Notification: Performance of Templates: time 0.011/0.178, allocations: 5.911 MB / 0.5458 GB, free: 11.58 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.11131392401876] Failed to read output from testmodel.py, exit status != 0: 0.18606424497556873 0.20007170200000002 0.050089731000000005 Calling exit ...