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.0008596/0.0008596, allocations: 100.4 kB / 19.7 MB, free: 440 kB / 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.0009546/0.0009546, allocations: 211.6 kB / 22.99 MB, free: 2.961 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.025/1.025, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] 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.06493/0.06493, allocations: 17.16 MB / 330.3 MB, free: 0.7344 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.00147/0.00147, allocations: 63.89 kB / 460.7 MB, free: 27.15 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08858/0.09005, allocations: 57.77 MB / 0.5063 GB, free: 1.277 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Chemical.Examples.MichaelisMenten): time 0.003909/0.09396, allocations: 3.101 MB / 0.5093 GB, free: 14.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004307/0.09827, allocations: 2.86 MB / 0.5121 GB, free: 11.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002289/0.0985, allocations: 19.81 kB / 0.5121 GB, free: 11.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.09872, allocations: 71.28 kB / 0.5122 GB, free: 11.2 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.001232/0.09995, allocations: 469.5 kB / 0.5126 GB, free: 10.74 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.0009999/0.101, allocations: 470 kB / 0.5131 GB, free: 10.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005137/0.1015, allocations: 0.4899 MB / 0.5136 GB, free: 9.789 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.1016, allocations: 65.25 kB / 0.5136 GB, free: 9.719 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.1018, allocations: 183.2 kB / 0.5138 GB, free: 9.539 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.1021, allocations: 219 kB / 0.514 GB, free: 9.324 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/0.1022, allocations: 24 kB / 0.514 GB, free: 9.301 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.244e-05/0.1022, allocations: 32 kB / 0.5141 GB, free: 9.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.971e-05/0.1023, allocations: 83.67 kB / 0.5142 GB, free: 9.188 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.1025, allocations: 155.1 kB / 0.5143 GB, free: 9.035 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004443/0.1029, allocations: 430.2 kB / 0.5147 GB, free: 8.613 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1029, allocations: 0 / 0.5147 GB, free: 8.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1029, allocations: 0 / 0.5147 GB, free: 8.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1029, allocations: 0 / 0.5147 GB, free: 8.613 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.0009301/0.1039, allocations: 0.637 MB / 0.5153 GB, free: 7.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1039, allocations: 12.03 kB / 0.5153 GB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.1041, allocations: 56.64 kB / 0.5154 GB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004832/0.1046, allocations: 331.3 kB / 0.5157 GB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1046, allocations: 20.75 kB / 0.5157 GB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.1046, allocations: 24.12 kB / 0.5158 GB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003444/0.105, allocations: 241.8 kB / 0.516 GB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.105, allocations: 3.938 kB / 0.516 GB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.105, allocations: 12 kB / 0.516 GB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.105, allocations: 4 kB / 0.516 GB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002411/0.1053, allocations: 157.6 kB / 0.5162 GB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.1065, allocations: 0.7019 MB / 0.5168 GB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004059/0.1069, allocations: 235.8 kB / 0.5171 GB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.107, allocations: 101.7 kB / 0.5172 GB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.107, allocations: 0 / 0.5172 GB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.1071, allocations: 34.56 kB / 0.5172 GB, free: 5.934 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.1071, allocations: 0 / 0.5172 GB, free: 5.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0036/0.1107, allocations: 1.277 MB / 0.5184 GB, free: 4.645 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.1107, allocations: 81.11 kB / 0.5185 GB, free: 4.547 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006053/0.1113, allocations: 377.5 kB / 0.5189 GB, free: 4.168 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.1113, allocations: 29.7 kB / 0.5189 GB, free: 4.133 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.1115, allocations: 220.6 kB / 0.5191 GB, free: 3.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.1115, allocations: 83.28 kB / 0.5192 GB, free: 3.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.1116, allocations: 69.66 kB / 0.5193 GB, free: 3.754 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.1117, allocations: 346.8 kB / 0.5196 GB, free: 3.406 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.1119, allocations: 131.9 kB / 0.5197 GB, free: 3.277 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.1121, allocations: 214 kB / 0.5199 GB, free: 3.035 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/0.1125, allocations: 368.9 kB / 0.5203 GB, free: 2.645 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1126, allocations: 0 / 0.5203 GB, free: 2.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001739/0.1143, allocations: 0.7387 MB / 0.521 GB, free: 1.895 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.1143, allocations: 11.28 kB / 0.521 GB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1143, allocations: 4 kB / 0.521 GB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001725/0.116, allocations: 429.1 kB / 0.5214 GB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.1162, allocations: 43.92 kB / 0.5215 GB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005088/0.1213, allocations: 4.668 MB / 0.526 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.1215, allocations: 31.81 kB / 0.5261 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.1215, allocations: 16.06 kB / 0.5261 GB, free: 12.5 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.0001668/0.1217, allocations: 157.8 kB / 0.5262 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.637e-05/0.1217, allocations: 39.75 kB / 0.5263 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.705e-05/0.1218, allocations: 59.59 kB / 0.5263 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1218, allocations: 7.938 kB / 0.5263 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.1218, allocations: 0 / 0.5263 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1218, allocations: 3.938 kB / 0.5263 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.124, allocations: 1.08 MB / 0.5274 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.124, allocations: 0 / 0.5274 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.376e-05/0.1241, allocations: 23.98 kB / 0.5274 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001608/0.1257, allocations: 421.1 kB / 0.5278 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.1257, allocations: 4 kB / 0.5278 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004218/0.1299, allocations: 4.403 MB / 0.5321 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1299, allocations: 4.031 kB / 0.5321 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.1321, allocations: 0.9422 MB / 0.533 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.1322, allocations: 67.75 kB / 0.5331 GB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.1323, allocations: 8 kB / 0.5331 GB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.1324, allocations: 7.938 kB / 0.5331 GB, free: 5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.657e-05/0.1325, allocations: 27.89 kB / 0.5331 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.1325, allocations: 12.06 kB / 0.5332 GB, free: 4.961 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002335/0.1328, allocations: 259.2 kB / 0.5334 GB, free: 4.711 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1328, allocations: 0 / 0.5334 GB, free: 4.711 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006288/0.1334, allocations: 144 kB / 0.5335 GB, free: 4.57 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.0001144/0.1335, allocations: 107.2 kB / 0.5336 GB, free: 4.457 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008558/0.1344, allocations: 0.5899 MB / 0.5342 GB, free: 3.844 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1344, allocations: 0 / 0.5342 GB, free: 3.844 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000459/0.1348, allocations: 437.1 kB / 0.5346 GB, free: 3.391 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.1353, allocations: 74.34 kB / 0.5347 GB, free: 3.316 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.1364, allocations: 0.7467 MB / 0.5354 GB, free: 2.527 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.1366, allocations: 215.4 kB / 0.5356 GB, free: 2.297 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.1366, allocations: 23.44 kB / 0.5357 GB, free: 2.273 MB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1366, allocations: 3.938 kB / 0.5357 GB, free: 2.27 MB / 394.7 MB Notification: Performance of Templates: time 0.008356/0.145, allocations: 7.747 MB / 0.5432 GB, free: 10.54 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 > Bodylight_Bodylight.Chemical.Examples.MichaelisMenten.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.8860988430678844]