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.0009148/0.0009148, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001149/0.001149, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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.013/1.013, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.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.06296/0.06296, allocations: 12.77 MB / 273.8 MB, free: 116 kB / 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: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 347.1 MB, free: 1.758 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.548e-05, allocations: 2.312 kB / 347.1 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Chemical.Examples.MichaelisMenten): time 0.003989/0.004014, allocations: 3.331 MB / 350.5 MB, free: 14.4 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004547/0.008562, allocations: 2.875 MB / 353.3 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002829/0.008845, allocations: 19.81 kB / 353.4 MB, free: 11.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.009069, allocations: 71.28 kB / 353.4 MB, free: 11.43 MB / 282.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.001371/0.01044, allocations: 461.4 kB / 353.9 MB, free: 10.97 MB / 282.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.001308/0.01175, allocations: 482.4 kB / 354.3 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006318/0.01238, allocations: 0.4975 MB / 354.8 MB, free: 10 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.01255, allocations: 65.23 kB / 354.9 MB, free: 9.934 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002923/0.01285, allocations: 243.3 kB / 355.1 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003215/0.01317, allocations: 203.4 kB / 355.3 MB, free: 9.496 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.985e-05/0.01322, allocations: 31.94 kB / 355.4 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.977e-05/0.01332, allocations: 31.98 kB / 355.4 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.01343, allocations: 91.64 kB / 355.5 MB, free: 9.344 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.01355, allocations: 119.7 kB / 355.6 MB, free: 9.227 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004391/0.01399, allocations: 330.7 kB / 355.9 MB, free: 8.902 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.014, allocations: 0 / 355.9 MB, free: 8.902 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.014, allocations: 0 / 355.9 MB, free: 8.902 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.014, allocations: 0 / 355.9 MB, free: 8.902 MB / 282.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.0009227/0.01492, allocations: 0.7213 MB / 356.7 MB, free: 8.145 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.01496, allocations: 11.98 kB / 356.7 MB, free: 8.133 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.01518, allocations: 76.64 kB / 356.7 MB, free: 8.059 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/0.01563, allocations: 333.3 kB / 357.1 MB, free: 7.707 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.01565, allocations: 20.81 kB / 357.1 MB, free: 7.688 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.01569, allocations: 20.38 kB / 357.1 MB, free: 7.668 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.01592, allocations: 172.9 kB / 357.3 MB, free: 7.484 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.01593, allocations: 3.938 kB / 357.3 MB, free: 7.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.01595, allocations: 8 kB / 357.3 MB, free: 7.473 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.01596, allocations: 4 kB / 357.3 MB, free: 7.469 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.01608, allocations: 67.42 kB / 357.4 MB, free: 7.398 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.01719, allocations: 0.5995 MB / 358 MB, free: 6.766 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.01746, allocations: 134.2 kB / 358.1 MB, free: 6.609 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.601e-05/0.01753, allocations: 43.42 kB / 358.1 MB, free: 6.559 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.01754, allocations: 4 kB / 358.1 MB, free: 6.555 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.01757, allocations: 37.33 kB / 358.2 MB, free: 6.508 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.904e-06/0.01757, allocations: 0 / 358.2 MB, free: 6.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.002693/0.02026, allocations: 0.6788 MB / 358.9 MB, free: 5.816 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.02031, allocations: 85.11 kB / 358.9 MB, free: 5.715 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.02062, allocations: 386.5 kB / 359.3 MB, free: 5.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.02065, allocations: 29.7 kB / 359.3 MB, free: 5.285 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.02079, allocations: 259.2 kB / 359.6 MB, free: 5.027 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.103e-05/0.02086, allocations: 91.2 kB / 359.7 MB, free: 4.938 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.02097, allocations: 71.33 kB / 359.8 MB, free: 4.859 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.02113, allocations: 0.5234 MB / 360.3 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.322e-05/0.02121, allocations: 32 kB / 360.3 MB, free: 4.293 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.02135, allocations: 149.3 kB / 360.5 MB, free: 4.102 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.0216, allocations: 199.8 kB / 360.7 MB, free: 3.863 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.02161, allocations: 0 / 360.7 MB, free: 3.863 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001405/0.02301, allocations: 446.2 kB / 361.1 MB, free: 3.414 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.02303, allocations: 8 kB / 361.1 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.02304, allocations: 4 kB / 361.1 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00205/0.02509, allocations: 362.9 kB / 361.5 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.02523, allocations: 43.86 kB / 361.5 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004126/0.02935, allocations: 4.604 MB / 366.1 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.02958, allocations: 12 kB / 366.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.02961, allocations: 12 kB / 366.1 MB, free: 14.15 MB / 298.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.0001516/0.02976, allocations: 172.5 kB / 366.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-05/0.02983, allocations: 55.66 kB / 366.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.612e-05/0.02991, allocations: 51.72 kB / 366.4 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.02991, allocations: 4 kB / 366.4 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.02993, allocations: 7.938 kB / 366.4 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.02993, allocations: 0 / 366.4 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.03175, allocations: 0.7036 MB / 367.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.03175, allocations: 0 / 367.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.001e-05/0.03183, allocations: 23.98 kB / 367.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001794/0.03363, allocations: 334.8 kB / 367.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.03365, allocations: 8 kB / 367.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003737/0.03738, allocations: 4.299 MB / 371.8 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.03739, allocations: 0 / 371.8 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.0389, allocations: 0.5551 MB / 372.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.03905, allocations: 63.62 kB / 372.4 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.03909, allocations: 11.98 kB / 372.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.03924, allocations: 4 kB / 372.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.0393, allocations: 19.97 kB / 372.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.03932, allocations: 4 kB / 372.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001879/0.03951, allocations: 255 kB / 372.7 MB, free: 7.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03951, allocations: 0 / 372.7 MB, free: 7.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006685/0.04017, allocations: 144 kB / 372.8 MB, free: 7.129 MB / 298.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.0001268/0.0403, allocations: 99.19 kB / 372.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007481/0.04105, allocations: 0.5264 MB / 373.4 MB, free: 6.457 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.04106, allocations: 4.062 kB / 373.4 MB, free: 6.453 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004415/0.0415, allocations: 478.8 kB / 373.9 MB, free: 5.945 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.04197, allocations: 84.5 kB / 374 MB, free: 5.863 MB / 298.7 MB Error: Error parsing unit kcal: Unit not found Error: Error parsing unit kcal/min: Unit not found Error: Error parsing unit kcal/mol: Unit not found Error: Error parsing unit %: Parse error Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.04383, allocations: 0.6925 MB / 374.7 MB, free: 5.133 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.04402, allocations: 211 kB / 374.9 MB, free: 4.906 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.04421, allocations: 134.2 kB / 375 MB, free: 4.773 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/0.04421, allocations: 0 / 375 MB, free: 4.773 MB / 298.7 MB Notification: Performance of Templates: time 0.01001/0.05422, allocations: 7.726 MB / 382.7 MB, free: 13.06 MB / 314.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: 4.28003586968407]