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.000943/0.000943, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.000921/0.000921, allocations: 177.3 kB / 23.36 MB, free: 1.133 MB / 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 0.9222/0.9222, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.05893/0.05893, allocations: 12.76 MB / 273 MB, free: 176 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.333e-06/1.333e-06, allocations: 3.938 kB / 293.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.618e-05, allocations: 3.844 kB / 293.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Chemical.Examples.MichaelisMenten): time 0.00683/0.006847, allocations: 3.318 MB / 297.2 MB, free: 9.824 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00339/0.01024, allocations: 2.943 MB / 300.2 MB, free: 7.957 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.01041, allocations: 22.69 kB / 300.2 MB, free: 7.941 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.01056, allocations: 70.56 kB / 300.3 MB, free: 7.898 MB / 266.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.00102/0.01158, allocations: 474.6 kB / 300.7 MB, free: 7.648 MB / 266.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.0007227/0.0123, allocations: 482.5 kB / 301.2 MB, free: 7.418 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004048/0.01271, allocations: 0.4993 MB / 301.7 MB, free: 7.172 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.01283, allocations: 63.62 kB / 301.8 MB, free: 7.133 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.01305, allocations: 249.1 kB / 302 MB, free: 7.043 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.01331, allocations: 204.3 kB / 302.2 MB, free: 6.988 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.113e-05/0.01336, allocations: 23.38 kB / 302.2 MB, free: 6.988 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.037e-05/0.01343, allocations: 30.06 kB / 302.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.393e-05/0.01351, allocations: 92.61 kB / 302.3 MB, free: 6.934 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.01362, allocations: 121.3 kB / 302.5 MB, free: 6.891 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.01391, allocations: 328.3 kB / 302.8 MB, free: 6.754 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.01392, allocations: 0 / 302.8 MB, free: 6.754 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.01392, allocations: 0 / 302.8 MB, free: 6.754 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.01392, allocations: 3.938 kB / 302.8 MB, free: 6.75 MB / 266.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.0005836/0.01451, allocations: 0.5904 MB / 303.4 MB, free: 6.309 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.01453, allocations: 14.09 kB / 303.4 MB, free: 6.305 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.01469, allocations: 51.27 kB / 303.4 MB, free: 6.301 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.015, allocations: 318 kB / 303.7 MB, free: 6.082 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.01501, allocations: 17.86 kB / 303.8 MB, free: 6.074 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.01504, allocations: 19.12 kB / 303.8 MB, free: 6.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.01523, allocations: 170.9 kB / 303.9 MB, free: 5.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.01524, allocations: 3.938 kB / 304 MB, free: 5.977 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.01525, allocations: 10.75 kB / 304 MB, free: 5.969 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.01526, allocations: 4.125 kB / 304 MB, free: 5.969 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.209e-05/0.01535, allocations: 63.16 kB / 304 MB, free: 5.957 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006747/0.01602, allocations: 456.7 kB / 304.5 MB, free: 5.672 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.01621, allocations: 167.3 kB / 304.6 MB, free: 5.539 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/0.01626, allocations: 47.36 kB / 304.7 MB, free: 5.508 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.01627, allocations: 3.094 kB / 304.7 MB, free: 5.508 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.01628, allocations: 32.88 kB / 304.7 MB, free: 5.469 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.01628, allocations: 0 / 304.7 MB, free: 5.469 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001035/0.01732, allocations: 380.7 kB / 305.1 MB, free: 5.285 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.623e-05/0.01734, allocations: 87.59 kB / 305.2 MB, free: 5.184 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.0175, allocations: 326.4 kB / 305.5 MB, free: 4.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.01751, allocations: 28.98 kB / 305.5 MB, free: 4.934 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.01755, allocations: 183.3 kB / 305.7 MB, free: 4.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.01758, allocations: 61.03 kB / 305.8 MB, free: 4.719 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.01762, allocations: 50.73 kB / 305.8 MB, free: 4.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.503e-05/0.01766, allocations: 350.3 kB / 306.2 MB, free: 4.336 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.647e-05/0.01769, allocations: 31.06 kB / 306.2 MB, free: 4.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.436e-05/0.01775, allocations: 92.95 kB / 306.3 MB, free: 4.223 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.01786, allocations: 156.8 kB / 306.4 MB, free: 4.086 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.01786, allocations: 1.094 kB / 306.4 MB, free: 4.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000436/0.0183, allocations: 251.9 kB / 306.7 MB, free: 3.945 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.01831, allocations: 11.28 kB / 306.7 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.01831, allocations: 1.531 kB / 306.7 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005691/0.01888, allocations: 157.3 kB / 306.8 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.216e-05/0.01897, allocations: 41.39 kB / 306.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.02006, allocations: 1.703 MB / 308.6 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.02017, allocations: 31.78 kB / 308.6 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.02018, allocations: 11.94 kB / 308.6 MB, free: 2.145 MB / 266.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 (24): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 5.914e-05/0.02024, allocations: 124.6 kB / 308.7 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.02027, allocations: 23.97 kB / 308.8 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.02031, allocations: 43.45 kB / 308.8 MB, free: 1.945 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.02031, allocations: 0 / 308.8 MB, free: 1.945 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.02031, allocations: 4 kB / 308.8 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.02031, allocations: 7.984 kB / 308.8 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.02049, allocations: 173.6 kB / 309 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.02049, allocations: 0 / 309 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.02053, allocations: 27.86 kB / 309 MB, free: 1.719 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005139/0.02104, allocations: 139.5 kB / 309.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.02105, allocations: 12 kB / 309.2 MB, free: 1.566 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008994/0.02195, allocations: 1.684 MB / 310.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.02195, allocations: 0 / 310.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004846/0.02244, allocations: 367.6 kB / 311.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.266e-05/0.0225, allocations: 43.75 kB / 311.3 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.02252, allocations: 0 / 311.3 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.0226, allocations: 11.95 kB / 311.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.02263, allocations: 15.91 kB / 311.3 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.02263, allocations: 8 kB / 311.3 MB, free: 15.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.917e-05/0.02273, allocations: 132.7 kB / 311.4 MB, free: 15.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02273, allocations: 0 / 311.4 MB, free: 15.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002883/0.02302, allocations: 111.9 kB / 311.5 MB, free: 15.09 MB / 282.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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 7.378e-05/0.0231, allocations: 80.39 kB / 311.6 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002844/0.02338, allocations: 245.9 kB / 311.8 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.02339, allocations: 4 kB / 311.9 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.02353, allocations: 188 kB / 312 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.02378, allocations: 76.33 kB / 312.1 MB, free: 14.47 MB / 282.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.00113/0.02491, allocations: 0.6278 MB / 312.7 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.489e-05/0.02497, allocations: 108.6 kB / 312.8 MB, free: 13.69 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.706e-05/0.02505, allocations: 30.95 kB / 312.9 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.02516, allocations: 103.3 kB / 313 MB, free: 13.56 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02516, allocations: 0 / 313 MB, free: 13.56 MB / 282.7 MB Notification: Performance of Templates: time 0.00809/0.03325, allocations: 6.923 MB / 319.9 MB, free: 6.746 MB / 282.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: 2.7791865654289722]