Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Chemical.Examples.MichaelisMenten.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.002044/0.002044, allocations: 109.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.002465/0.002465, allocations: 221.1 kB / 22.25 MB, free: 3.582 MB / 13.93 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.815/1.815, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.1218/0.1218, allocations: 17.17 MB / 329.6 MB, free: 0.8359 MB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.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(Bodylight.Chemical.Examples.MichaelisMenten,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Chemical.Examples.MichaelisMenten") translateModel(Bodylight.Chemical.Examples.MichaelisMenten,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Chemical.Examples.MichaelisMenten") [Timeout 660] "Notification: Bodylight 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.003768/0.003768, allocations: 67.89 kB / 460.7 MB, free: 26.42 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1132, allocations: 57.77 MB / 0.5063 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Chemical.Examples.MichaelisMenten): time 0.005523/0.1188, allocations: 3.102 MB / 0.5093 GB, free: 13.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005697/0.1244, allocations: 2.86 MB / 0.5121 GB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002334/0.1247, allocations: 19.81 kB / 0.5122 GB, free: 10.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.125, allocations: 75.28 kB / 0.5122 GB, free: 10.46 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.MichaelisMenten.ES.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.MichaelisMenten.ES.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.MichaelisMenten.ES.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.MichaelisMenten.E.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.MichaelisMenten.E.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.MichaelisMenten.E.Utilities.UnitConversions.findUnit'. Notification: Performance of NFTyping.typeBindings: time 0.001463/0.1264, allocations: 473.5 kB / 0.5127 GB, free: 10 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.MichaelisMenten.ES.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.MichaelisMenten.ES.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.MichaelisMenten.E.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.MichaelisMenten.E.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.1276, allocations: 470.1 kB / 0.5131 GB, free: 9.543 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006812/0.1283, allocations: 493.7 kB / 0.5136 GB, free: 9.059 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.1285, allocations: 69.23 kB / 0.5137 GB, free: 8.984 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.1287, allocations: 175.3 kB / 0.5138 GB, free: 8.812 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003839/0.1291, allocations: 223 kB / 0.514 GB, free: 8.594 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.646e-05/0.1292, allocations: 24 kB / 0.5141 GB, free: 8.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-05/0.1293, allocations: 28 kB / 0.5141 GB, free: 8.543 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.1294, allocations: 83.67 kB / 0.5142 GB, free: 8.461 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.1296, allocations: 159.1 kB / 0.5143 GB, free: 8.305 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008174/0.1304, allocations: 434.1 kB / 0.5147 GB, free: 7.879 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.1304, allocations: 4 kB / 0.5147 GB, free: 7.875 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1304, allocations: 0 / 0.5147 GB, free: 7.875 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.1304, allocations: 0 / 0.5147 GB, free: 7.875 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001398/0.1318, allocations: 0.6331 MB / 0.5154 GB, free: 7.211 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.1319, allocations: 8.031 kB / 0.5154 GB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002826/0.1322, allocations: 56.64 kB / 0.5154 GB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006675/0.1328, allocations: 335.2 kB / 0.5157 GB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.1329, allocations: 16.81 kB / 0.5158 GB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-05/0.1329, allocations: 24.12 kB / 0.5158 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004647/0.1334, allocations: 245.8 kB / 0.516 GB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.1334, allocations: 0 / 0.516 GB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.1334, allocations: 12 kB / 0.516 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.1334, allocations: 4 kB / 0.516 GB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.1338, allocations: 161.6 kB / 0.5162 GB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.1355, allocations: 0.698 MB / 0.5169 GB, free: 5.598 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000588/0.1361, allocations: 244.5 kB / 0.5171 GB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.1362, allocations: 89.73 kB / 0.5172 GB, free: 5.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.1362, allocations: 0 / 0.5172 GB, free: 5.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.1363, allocations: 38.56 kB / 0.5172 GB, free: 5.203 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.052e-06/0.1363, allocations: 0 / 0.5172 GB, free: 5.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.005849/0.1421, allocations: 1.29 MB / 0.5185 GB, free: 3.898 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.1422, allocations: 77.11 kB / 0.5186 GB, free: 3.805 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005257/0.1427, allocations: 373.6 kB / 0.5189 GB, free: 3.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.1428, allocations: 29.7 kB / 0.5189 GB, free: 3.395 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.143, allocations: 220.6 kB / 0.5191 GB, free: 3.172 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.981e-05/0.1431, allocations: 91.22 kB / 0.5192 GB, free: 3.082 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.1432, allocations: 61.66 kB / 0.5193 GB, free: 3.016 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.1434, allocations: 346.8 kB / 0.5196 GB, free: 2.668 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.1437, allocations: 131.9 kB / 0.5198 GB, free: 2.539 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000323/0.144, allocations: 210 kB / 0.52 GB, free: 2.301 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006155/0.1446, allocations: 372.9 kB / 0.5203 GB, free: 1.906 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1446, allocations: 0 / 0.5203 GB, free: 1.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0028/0.1474, allocations: 0.7271 MB / 0.521 GB, free: 1.168 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1474, allocations: 8 kB / 0.521 GB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.1474, allocations: 8 kB / 0.521 GB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003139/0.1506, allocations: 429.1 kB / 0.5214 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.1508, allocations: 47.92 kB / 0.5215 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007534/0.1583, allocations: 4.664 MB / 0.526 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/0.1587, allocations: 31.97 kB / 0.5261 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.1587, allocations: 16 kB / 0.5261 GB, free: 11.77 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002248/0.1589, allocations: 153.8 kB / 0.5262 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.669e-05/0.159, allocations: 39.77 kB / 0.5263 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.1591, allocations: 55.53 kB / 0.5263 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1591, allocations: 7.938 kB / 0.5263 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.1592, allocations: 0 / 0.5263 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.1592, allocations: 7.938 kB / 0.5263 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/0.1626, allocations: 1.073 MB / 0.5274 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.1626, allocations: 0 / 0.5274 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.1627, allocations: 23.98 kB / 0.5274 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00268/0.1654, allocations: 421.1 kB / 0.5278 GB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.1654, allocations: 0 / 0.5278 GB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006973/0.1724, allocations: 4.411 MB / 0.5321 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1724, allocations: 0 / 0.5321 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003049/0.1754, allocations: 0.9454 MB / 0.533 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.1756, allocations: 71.75 kB / 0.5331 GB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.1757, allocations: 4 kB / 0.5331 GB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.1759, allocations: 15.88 kB / 0.5331 GB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.176, allocations: 27.89 kB / 0.5332 GB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.176, allocations: 8.062 kB / 0.5332 GB, free: 4.234 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003459/0.1764, allocations: 263.2 kB / 0.5334 GB, free: 3.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1764, allocations: 0 / 0.5334 GB, free: 3.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006801/0.1771, allocations: 144 kB / 0.5336 GB, free: 3.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (state[1]) * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001617/0.1772, allocations: 103.1 kB / 0.5337 GB, free: 3.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.1786, allocations: 0.5948 MB / 0.5342 GB, free: 3.109 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1786, allocations: 0 / 0.5342 GB, free: 3.109 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007799/0.1793, allocations: 437.1 kB / 0.5347 GB, free: 2.656 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005423/0.1799, allocations: 74.22 kB / 0.5347 GB, free: 2.582 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.1816, allocations: 0.7237 MB / 0.5354 GB, free: 1.832 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.1818, allocations: 219.4 kB / 0.5356 GB, free: 1.598 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.182, allocations: 38.95 kB / 0.5357 GB, free: 1.555 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.217e-05/0.182, allocations: 23.44 kB / 0.5357 GB, free: 1.531 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/0.182, allocations: 4 kB / 0.5357 GB, free: 1.527 MB / 394.7 MB Notification: Performance of Templates: time 0.01884/0.2009, allocations: 10.42 MB / 0.5459 GB, free: 7.168 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Chemical.Examples.MichaelisMenten.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Chemical.Examples.MichaelisMenten.pipe ; mkfifo Bodylight_Bodylight.Chemical.Examples.MichaelisMenten.pipe ; head -c 1048576 < Bodylight_Bodylight.Chemical.Examples.MichaelisMenten.pipe >> ../files/Bodylight_Bodylight.Chemical.Examples.MichaelisMenten.sim & ./Bodylight_Bodylight.Chemical.Examples.MichaelisMenten -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Chemical.Examples.MichaelisMenten.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.437730596400797]