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.001383/0.001383, allocations: 80.88 kB / 20.8 MB, free: 3.656 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.001434/0.001434, allocations: 169 kB / 24.22 MB, free: 244 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 0.9888/0.9888, allocations: 177.2 MB / 204.7 MB, free: 5.449 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.05337/0.05337, allocations: 12.77 MB / 273.9 MB, free: 128 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.363e-06/1.363e-06, allocations: 0 / 294.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.293e-05/1.43e-05, allocations: 3.297 kB / 294.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Chemical.Examples.MichaelisMenten): time 0.003579/0.003594, allocations: 3.367 MB / 298.3 MB, free: 9.637 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003787/0.00738, allocations: 2.933 MB / 301.2 MB, free: 7.789 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.00756, allocations: 18.72 kB / 301.2 MB, free: 7.777 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.007747, allocations: 70.3 kB / 301.3 MB, free: 7.734 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.001038/0.008785, allocations: 457.9 kB / 301.7 MB, free: 7.477 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.0008746/0.00966, allocations: 454.9 kB / 302.2 MB, free: 7.254 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004845/0.01014, allocations: 0.504 MB / 302.7 MB, free: 7.004 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.01028, allocations: 68.16 kB / 302.7 MB, free: 6.961 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.01054, allocations: 243.5 kB / 303 MB, free: 6.875 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.01083, allocations: 196.8 kB / 303.2 MB, free: 6.828 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.76e-05/0.01087, allocations: 23.34 kB / 303.2 MB, free: 6.828 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.01098, allocations: 28.12 kB / 303.2 MB, free: 6.828 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.488e-05/0.01107, allocations: 97.92 kB / 303.3 MB, free: 6.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.01118, allocations: 119.4 kB / 303.4 MB, free: 6.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003666/0.01155, allocations: 326 kB / 303.8 MB, free: 6.594 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.01155, allocations: 1.406 kB / 303.8 MB, free: 6.594 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01155, allocations: 0 / 303.8 MB, free: 6.594 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.01156, allocations: 4.703 kB / 303.8 MB, free: 6.59 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.0007435/0.0123, allocations: 0.5948 MB / 304.4 MB, free: 6.145 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.01234, allocations: 13.36 kB / 304.4 MB, free: 6.141 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.01252, allocations: 59.88 kB / 304.4 MB, free: 6.129 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.01291, allocations: 310.2 kB / 304.7 MB, free: 5.918 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.01293, allocations: 17.12 kB / 304.8 MB, free: 5.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.01296, allocations: 22.12 kB / 304.8 MB, free: 5.902 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.01318, allocations: 169.9 kB / 304.9 MB, free: 5.805 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.01319, allocations: 3.938 kB / 304.9 MB, free: 5.801 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.0132, allocations: 6.75 kB / 304.9 MB, free: 5.797 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.01321, allocations: 4.125 kB / 305 MB, free: 5.797 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.01332, allocations: 66.91 kB / 305 MB, free: 5.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007958/0.01411, allocations: 463.4 kB / 305.5 MB, free: 5.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.01433, allocations: 151.6 kB / 305.6 MB, free: 5.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.01438, allocations: 42.53 kB / 305.7 MB, free: 5.312 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.01439, allocations: 3.625 kB / 305.7 MB, free: 5.312 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.01441, allocations: 41.19 kB / 305.7 MB, free: 5.266 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.512e-06/0.01441, allocations: 0 / 305.7 MB, free: 5.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001469/0.01588, allocations: 378.8 kB / 306.1 MB, free: 5.082 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.0159, allocations: 83.52 kB / 306.2 MB, free: 4.984 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.01611, allocations: 331.1 kB / 306.5 MB, free: 4.762 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.01612, allocations: 31.95 kB / 306.5 MB, free: 4.727 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.01618, allocations: 178 kB / 306.7 MB, free: 4.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.01621, allocations: 61.25 kB / 306.7 MB, free: 4.516 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.053e-05/0.01627, allocations: 51.36 kB / 306.8 MB, free: 4.477 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.123e-05/0.01631, allocations: 351.8 kB / 307.1 MB, free: 4.133 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.033e-05/0.01635, allocations: 23.95 kB / 307.2 MB, free: 4.125 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-05/0.01641, allocations: 100.2 kB / 307.3 MB, free: 4.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.01655, allocations: 152.7 kB / 307.4 MB, free: 3.887 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01655, allocations: 1.344 kB / 307.4 MB, free: 3.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005644/0.01712, allocations: 263.4 kB / 307.7 MB, free: 3.734 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.01713, allocations: 9.906 kB / 307.7 MB, free: 3.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.01714, allocations: 3.688 kB / 307.7 MB, free: 3.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007487/0.01789, allocations: 151.5 kB / 307.8 MB, free: 3.648 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.018, allocations: 43.08 kB / 307.9 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.01964, allocations: 1.738 MB / 309.6 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.0198, allocations: 23.84 kB / 309.6 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.01982, allocations: 11.94 kB / 309.6 MB, free: 1.926 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 8.572e-05/0.0199, allocations: 132.6 kB / 309.8 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.01995, allocations: 23.97 kB / 309.8 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.302e-05/0.02001, allocations: 47.48 kB / 309.8 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.02001, allocations: 0 / 309.8 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.02001, allocations: 0 / 309.8 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.02002, allocations: 0 / 309.8 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.02026, allocations: 173.7 kB / 310 MB, free: 1.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.02026, allocations: 4 kB / 310 MB, free: 1.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.023e-05/0.02032, allocations: 19.98 kB / 310 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007974/0.02112, allocations: 147.4 kB / 310.2 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.02113, allocations: 8 kB / 310.2 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.02263, allocations: 1.704 MB / 311.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.02263, allocations: 0 / 311.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006147/0.02325, allocations: 375.4 kB / 312.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.442e-05/0.02332, allocations: 43.69 kB / 312.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.02335, allocations: 4 kB / 312.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.02346, allocations: 7.953 kB / 312.3 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.02349, allocations: 19.91 kB / 312.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.0235, allocations: 4 kB / 312.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001273/0.02363, allocations: 140.7 kB / 312.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02363, allocations: 0 / 312.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003891/0.02402, allocations: 111.9 kB / 312.6 MB, free: 14.84 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 8.009e-05/0.0241, allocations: 72.42 kB / 312.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003435/0.02444, allocations: 246.4 kB / 312.9 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.02445, allocations: 4.125 kB / 312.9 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.02463, allocations: 187.3 kB / 313.1 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.02496, allocations: 75.2 kB / 313.2 MB, free: 14.23 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.001258/0.02622, allocations: 0.6323 MB / 313.8 MB, free: 13.56 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.325e-05/0.02628, allocations: 104.6 kB / 313.9 MB, free: 13.44 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.564e-05/0.02636, allocations: 26.97 kB / 313.9 MB, free: 13.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.02647, allocations: 103.3 kB / 314 MB, free: 13.31 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02647, allocations: 0 / 314 MB, free: 13.31 MB / 282.7 MB Notification: Performance of Templates: time 0.008023/0.03449, allocations: 6.925 MB / 320.9 MB, free: 6.5 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: 3.008310966193676]