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.0009997/0.0009997, allocations: 92.22 kB / 19.65 MB, free: 276 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.001495/0.001495, allocations: 173 kB / 23.03 MB, free: 1.543 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.021/1.021, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.05874/0.05874, allocations: 12.76 MB / 272.7 MB, free: 284 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.473e-06/1.473e-06, allocations: 0 / 346.7 MB, free: 1.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.19e-05, allocations: 12.64 kB / 346.7 MB, free: 1.219 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Chemical.Examples.MichaelisMenten): time 0.003521/0.003543, allocations: 3.356 MB / 350.1 MB, free: 13.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004044/0.007587, allocations: 2.961 MB / 353 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.007773, allocations: 19.75 kB / 353 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.007975, allocations: 75.3 kB / 353.1 MB, free: 10.77 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.001103/0.009078, allocations: 469.2 kB / 353.6 MB, free: 10.31 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.0008715/0.009949, allocations: 478.6 kB / 354 MB, free: 9.844 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005216/0.01047, allocations: 0.5013 MB / 354.6 MB, free: 9.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.01063, allocations: 61.19 kB / 354.6 MB, free: 9.277 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.01087, allocations: 243.4 kB / 354.8 MB, free: 9.039 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/0.01116, allocations: 203.4 kB / 355 MB, free: 8.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.0112, allocations: 24 kB / 355.1 MB, free: 8.816 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-05/0.01128, allocations: 24 kB / 355.1 MB, free: 8.793 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.488e-05/0.01137, allocations: 95.64 kB / 355.2 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.01149, allocations: 135.6 kB / 355.3 MB, free: 8.566 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004982/0.01199, allocations: 330.7 kB / 355.6 MB, free: 8.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.012, allocations: 0 / 355.6 MB, free: 8.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.012, allocations: 0 / 355.6 MB, free: 8.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.012, allocations: 0 / 355.6 MB, free: 8.242 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.0008904/0.01289, allocations: 0.7059 MB / 356.3 MB, free: 7.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.01293, allocations: 11.98 kB / 356.4 MB, free: 7.488 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.01313, allocations: 76.64 kB / 356.4 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.01358, allocations: 357.2 kB / 356.8 MB, free: 7.039 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.0136, allocations: 16.88 kB / 356.8 MB, free: 7.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.01363, allocations: 16.38 kB / 356.8 MB, free: 7.008 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.01389, allocations: 181 kB / 357 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.0139, allocations: 3.938 kB / 357 MB, free: 6.812 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.01392, allocations: 8 kB / 357 MB, free: 6.805 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.01393, allocations: 8 kB / 357 MB, free: 6.797 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.01409, allocations: 83.36 kB / 357.1 MB, free: 6.711 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.01521, allocations: 0.6536 MB / 357.7 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.01551, allocations: 146.1 kB / 357.9 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.769e-05/0.0156, allocations: 51.41 kB / 357.9 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.01561, allocations: 4 kB / 357.9 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.01563, allocations: 37.39 kB / 358 MB, free: 5.738 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.01563, allocations: 0 / 358 MB, free: 5.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.002708/0.01834, allocations: 0.7972 MB / 358.8 MB, free: 4.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.01838, allocations: 81.05 kB / 358.9 MB, free: 4.832 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005217/0.0189, allocations: 402.6 kB / 359.2 MB, free: 4.422 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.01892, allocations: 29.7 kB / 359.3 MB, free: 4.387 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.01902, allocations: 251.4 kB / 359.5 MB, free: 4.137 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.263e-05/0.01907, allocations: 95.28 kB / 359.6 MB, free: 4.043 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.297e-05/0.01916, allocations: 67.36 kB / 359.7 MB, free: 3.969 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.01928, allocations: 0.5195 MB / 360.2 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.029e-05/0.01936, allocations: 39.97 kB / 360.2 MB, free: 3.398 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.01948, allocations: 144.8 kB / 360.4 MB, free: 3.211 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.0197, allocations: 227.8 kB / 360.6 MB, free: 2.945 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01971, allocations: 4 kB / 360.6 MB, free: 2.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001042/0.02075, allocations: 466.5 kB / 361.1 MB, free: 2.473 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.02076, allocations: 11.94 kB / 361.1 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.02077, allocations: 4 kB / 361.1 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.0221, allocations: 358.7 kB / 361.4 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.936e-05/0.02219, allocations: 47.97 kB / 361.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00348/0.02567, allocations: 4.697 MB / 366.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.02579, allocations: 16 kB / 366.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.0258, allocations: 8 kB / 366.2 MB, free: 13.09 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.0001143/0.02592, allocations: 184.4 kB / 366.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.02597, allocations: 43.72 kB / 366.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.473e-05/0.02602, allocations: 55.64 kB / 366.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.02603, allocations: 4 kB / 366.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.02603, allocations: 0 / 366.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.02604, allocations: 7.984 kB / 366.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.02737, allocations: 0.7773 MB / 367.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.02737, allocations: 0 / 367.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.65e-05/0.02743, allocations: 19.98 kB / 367.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/0.02869, allocations: 350.7 kB / 367.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.02871, allocations: 3.984 kB / 367.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002686/0.0314, allocations: 4.373 MB / 372 MB, free: 6.965 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.0314, allocations: 4.062 kB / 372 MB, free: 6.961 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.03251, allocations: 0.5882 MB / 372.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.567e-05/0.0326, allocations: 67.69 kB / 372.7 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.03262, allocations: 4 kB / 372.7 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.033e-05/0.03271, allocations: 4 kB / 372.7 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.03277, allocations: 27.89 kB / 372.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.03278, allocations: 4 kB / 372.7 MB, free: 6.238 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001547/0.03293, allocations: 267.1 kB / 373 MB, free: 5.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03293, allocations: 0 / 373 MB, free: 5.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004073/0.03334, allocations: 144 kB / 373.1 MB, free: 5.84 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.0001035/0.03344, allocations: 99.27 kB / 373.2 MB, free: 5.734 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008429/0.03428, allocations: 0.5486 MB / 373.7 MB, free: 5.148 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.03429, allocations: 0 / 373.7 MB, free: 5.148 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000319/0.0346, allocations: 483.4 kB / 374.2 MB, free: 4.637 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.03496, allocations: 83.02 kB / 374.3 MB, free: 4.555 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.00145/0.03641, allocations: 0.6781 MB / 375 MB, free: 3.844 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.412e-05/0.03649, allocations: 121.1 kB / 375.1 MB, free: 3.703 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.691e-05/0.03658, allocations: 30.97 kB / 375.1 MB, free: 3.676 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.03662, allocations: 20.5 kB / 375.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of SimCode: time 1.253e-06/0.03662, allocations: 0 / 375.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of Templates: time 0.01196/0.04858, allocations: 10.65 MB / 385.8 MB, free: 9.062 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Chemical.Examples.MichaelisMenten.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3619809127412736]