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.00143/0.00143, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001107/0.001107, allocations: 177.4 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 1.024/1.024, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.0743/0.0743, allocations: 12.75 MB / 273 MB, free: 180 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 2.084e-06/2.084e-06, allocations: 0 / 293.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.81e-05, allocations: 4.125 kB / 293.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Chemical.Examples.MichaelisMenten): time 0.004758/0.004787, allocations: 3.368 MB / 297.3 MB, free: 9.711 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00426/0.009047, allocations: 2.942 MB / 300.3 MB, free: 7.844 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.009315, allocations: 18.62 kB / 300.3 MB, free: 7.832 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.009523, allocations: 69.58 kB / 300.3 MB, free: 7.789 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.001361/0.01088, allocations: 460.6 kB / 300.8 MB, free: 7.527 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.001099/0.01198, allocations: 451.2 kB / 301.2 MB, free: 7.305 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006232/0.01261, allocations: 0.4994 MB / 301.7 MB, free: 7.059 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.01277, allocations: 67.12 kB / 301.8 MB, free: 7.016 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003114/0.01308, allocations: 253.4 kB / 302 MB, free: 6.922 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003374/0.01342, allocations: 195.4 kB / 302.2 MB, free: 6.875 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.01346, allocations: 23.38 kB / 302.3 MB, free: 6.875 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.01357, allocations: 36.05 kB / 302.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.033e-05/0.01366, allocations: 93.95 kB / 302.4 MB, free: 6.816 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.901e-05/0.01376, allocations: 124 kB / 302.5 MB, free: 6.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.01416, allocations: 328.4 kB / 302.8 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.01416, allocations: 0 / 302.8 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01416, allocations: 0 / 302.8 MB, free: 6.633 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.01416, allocations: 0 / 302.8 MB, free: 6.633 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.000753/0.01492, allocations: 0.5947 MB / 303.4 MB, free: 6.188 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.01495, allocations: 12.73 kB / 303.4 MB, free: 6.184 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.01514, allocations: 53.44 kB / 303.5 MB, free: 6.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.01553, allocations: 316.9 kB / 303.8 MB, free: 5.961 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.01555, allocations: 12.91 kB / 303.8 MB, free: 5.957 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.01558, allocations: 24.11 kB / 303.8 MB, free: 5.949 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.0158, allocations: 169.6 kB / 304 MB, free: 5.859 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.501e-05/0.01584, allocations: 5.531 kB / 304 MB, free: 5.855 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.01585, allocations: 9.062 kB / 304 MB, free: 5.848 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.01586, allocations: 4.531 kB / 304 MB, free: 5.848 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.01598, allocations: 59.16 kB / 304.1 MB, free: 5.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008498/0.01683, allocations: 465.1 kB / 304.5 MB, free: 5.543 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.01706, allocations: 167.2 kB / 304.7 MB, free: 5.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/0.01712, allocations: 38.69 kB / 304.7 MB, free: 5.387 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.01713, allocations: 3.531 kB / 304.7 MB, free: 5.387 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.01715, allocations: 33.56 kB / 304.8 MB, free: 5.348 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.723e-06/0.01715, allocations: 0 / 304.8 MB, free: 5.348 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001137/0.01829, allocations: 378.8 kB / 305.1 MB, free: 5.164 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.01832, allocations: 87.59 kB / 305.2 MB, free: 5.062 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.01853, allocations: 324.3 kB / 305.5 MB, free: 4.848 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.01855, allocations: 29.83 kB / 305.6 MB, free: 4.812 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.01861, allocations: 182.1 kB / 305.7 MB, free: 4.652 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.01864, allocations: 59.16 kB / 305.8 MB, free: 4.602 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/0.01871, allocations: 54.94 kB / 305.9 MB, free: 4.559 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.01876, allocations: 347.3 kB / 306.2 MB, free: 4.219 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.596e-05/0.01881, allocations: 31.22 kB / 306.2 MB, free: 4.203 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.186e-05/0.01888, allocations: 100.5 kB / 306.3 MB, free: 4.098 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.01903, allocations: 160.3 kB / 306.5 MB, free: 3.957 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01903, allocations: 1.125 kB / 306.5 MB, free: 3.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005046/0.01954, allocations: 248.6 kB / 306.7 MB, free: 3.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.01956, allocations: 10.41 kB / 306.7 MB, free: 3.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.01956, allocations: 2.75 kB / 306.7 MB, free: 3.816 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006366/0.0202, allocations: 151.6 kB / 306.9 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.0203, allocations: 47.45 kB / 306.9 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.02177, allocations: 1.737 MB / 308.7 MB, free: 2.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.0219, allocations: 27.78 kB / 308.7 MB, free: 2.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.02191, allocations: 15.94 kB / 308.7 MB, free: 2 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 7.37e-05/0.02199, allocations: 120.6 kB / 308.8 MB, free: 1.871 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.02203, allocations: 27.97 kB / 308.9 MB, free: 1.844 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.02206, allocations: 39.45 kB / 308.9 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.02207, allocations: 4 kB / 308.9 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.02207, allocations: 8.062 kB / 308.9 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.02207, allocations: 3.984 kB / 308.9 MB, free: 1.789 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.02228, allocations: 173.5 kB / 309.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02228, allocations: 0 / 309.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.122e-05/0.02233, allocations: 19.98 kB / 309.1 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005656/0.0229, allocations: 143.5 kB / 309.2 MB, free: 1.438 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.02291, allocations: 8 kB / 309.2 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/0.02411, allocations: 1.708 MB / 311 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.02411, allocations: 0 / 311 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000511/0.02462, allocations: 363.5 kB / 311.3 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.352e-05/0.0247, allocations: 43.75 kB / 311.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.02472, allocations: 0 / 311.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.0248, allocations: 11.95 kB / 311.4 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.02483, allocations: 15.91 kB / 311.4 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.02484, allocations: 8 kB / 311.4 MB, free: 15.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.02495, allocations: 132.7 kB / 311.5 MB, free: 15.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02495, allocations: 7.969 kB / 311.5 MB, free: 15.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003409/0.02529, allocations: 111.9 kB / 311.6 MB, free: 14.93 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 9.733e-05/0.02539, allocations: 76.42 kB / 311.7 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003715/0.02576, allocations: 245.8 kB / 311.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.02576, allocations: 4.625 kB / 312 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.02593, allocations: 193.6 kB / 312.1 MB, free: 14.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.02623, allocations: 76.72 kB / 312.2 MB, free: 14.3 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.001349/0.02758, allocations: 0.6299 MB / 312.8 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.422e-05/0.02766, allocations: 100.6 kB / 312.9 MB, free: 13.53 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.529e-05/0.02775, allocations: 30.97 kB / 313 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.02788, allocations: 107.4 kB / 313.1 MB, free: 13.39 MB / 282.7 MB Notification: Performance of SimCode: time 1.382e-06/0.02788, allocations: 0 / 313.1 MB, free: 13.39 MB / 282.7 MB Notification: Performance of Templates: time 0.009239/0.03712, allocations: 6.93 MB / 320 MB, free: 6.574 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Bodylight_Bodylight.Chemical.Examples.MichaelisMenten.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.05895420210436]