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.002614/0.002614, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.006201/0.006201, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.756/1.756, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] 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.09577/0.09577, allocations: 12.74 MB / 271.9 MB, free: 496 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.583e-06/1.583e-06, allocations: 0 / 403.1 MB, free: 8.086 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.125e-05/3.283e-05, allocations: 5.234 kB / 403.1 MB, free: 8.082 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Chemical.Examples.MichaelisMenten): time 0.005337/0.00537, allocations: 3.115 MB / 406.2 MB, free: 4.949 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005614/0.01098, allocations: 2.851 MB / 409.1 MB, free: 2.082 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.01122, allocations: 23.75 kB / 409.1 MB, free: 2.059 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.01148, allocations: 67.3 kB / 409.2 MB, free: 1.992 MB / 330.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.00146/0.01295, allocations: 473.3 kB / 409.6 MB, free: 1.527 MB / 330.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.001216/0.01416, allocations: 482 kB / 410.1 MB, free: 1.059 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007327/0.01489, allocations: 0.5052 MB / 410.6 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.01509, allocations: 53.27 kB / 410.7 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006295/0.01572, allocations: 247.4 kB / 410.9 MB, free: 256 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000372/0.01609, allocations: 191.4 kB / 411.1 MB, free: 64 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.102e-05/0.01615, allocations: 24 kB / 411.1 MB, free: 40 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.01626, allocations: 27.94 kB / 411.1 MB, free: 12 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1834/0.1997, allocations: 88.73 kB / 411.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002409/0.1999, allocations: 127.1 kB / 411.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006006/0.2005, allocations: 415.8 kB / 411.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2005, allocations: 0 / 411.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.2005, allocations: 5.906 kB / 411.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.2005, allocations: 0 / 411.8 MB, free: 15.86 MB / 330.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.00107/0.2016, allocations: 0.6277 MB / 412.4 MB, free: 15.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2016, allocations: 13.95 kB / 412.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002275/0.2018, allocations: 55.23 kB / 412.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.2023, allocations: 344.1 kB / 412.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.872e-05/0.2024, allocations: 17.05 kB / 412.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.2024, allocations: 18.25 kB / 412.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.2028, allocations: 249.5 kB / 413.1 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2028, allocations: 0 / 413.1 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.2028, allocations: 11.19 kB / 413.1 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2028, allocations: 5.469 kB / 413.1 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.2031, allocations: 164.1 kB / 413.2 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.2045, allocations: 0.6903 MB / 413.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/0.205, allocations: 226.2 kB / 414.2 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.2051, allocations: 97.81 kB / 414.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.2051, allocations: 5.312 kB / 414.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.2052, allocations: 41.39 kB / 414.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.133e-06/0.2052, allocations: 1.688 kB / 414.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.005139/0.2103, allocations: 1.272 MB / 415.6 MB, free: 14.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.2103, allocations: 85.39 kB / 415.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005778/0.2109, allocations: 378.2 kB / 416 MB, free: 14.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.2109, allocations: 29.83 kB / 416.1 MB, free: 14.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.2111, allocations: 207 kB / 416.3 MB, free: 14.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.021e-05/0.2111, allocations: 91.08 kB / 416.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.2113, allocations: 57.55 kB / 416.4 MB, free: 14.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.946e-05/0.2114, allocations: 350.6 kB / 416.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.2116, allocations: 136.1 kB / 416.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.2118, allocations: 216 kB / 417.1 MB, free: 13.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/0.2123, allocations: 375.7 kB / 417.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2123, allocations: 0 / 417.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002535/0.2148, allocations: 0.7292 MB / 418.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2149, allocations: 9.875 kB / 418.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.2149, allocations: 2.625 kB / 418.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002681/0.2175, allocations: 434.9 kB / 418.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.2177, allocations: 42.7 kB / 418.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005383/0.2231, allocations: 4.682 MB / 423.3 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.2234, allocations: 14.59 kB / 423.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.2234, allocations: 13.62 kB / 423.4 MB, free: 10.09 MB / 330.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.0001613/0.2236, allocations: 165.6 kB / 423.5 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.9e-05/0.2237, allocations: 39.83 kB / 423.6 MB, free: 9.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.553e-05/0.2238, allocations: 56.34 kB / 423.6 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2238, allocations: 2.75 kB / 423.6 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.2238, allocations: 6.141 kB / 423.6 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2238, allocations: 2.078 kB / 423.6 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/0.2268, allocations: 1.072 MB / 424.7 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.2268, allocations: 0.875 kB / 424.7 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.2269, allocations: 18.25 kB / 424.7 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003231/0.2302, allocations: 427.3 kB / 425.1 MB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.2302, allocations: 11.34 kB / 425.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004789/0.235, allocations: 4.404 MB / 429.6 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.235, allocations: 1.094 kB / 429.6 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002619/0.2376, allocations: 0.9457 MB / 430.5 MB, free: 5.703 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.2378, allocations: 63.95 kB / 430.6 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.2378, allocations: 15.88 kB / 430.6 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.238, allocations: 10.14 kB / 430.6 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.863e-05/0.2381, allocations: 25.86 kB / 430.6 MB, free: 5.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.2381, allocations: 8.438 kB / 430.6 MB, free: 5.652 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002517/0.2384, allocations: 264 kB / 430.9 MB, free: 5.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2384, allocations: 0 / 430.9 MB, free: 5.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006635/0.2391, allocations: 144.4 kB / 431 MB, free: 5.508 MB / 330.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.0001001/0.2392, allocations: 98.41 kB / 431.1 MB, free: 5.414 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009658/0.2401, allocations: 0.5983 MB / 431.7 MB, free: 5.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2401, allocations: 0 / 431.7 MB, free: 5.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005562/0.2407, allocations: 431.1 kB / 432.1 MB, free: 4.781 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005066/0.2412, allocations: 76.64 kB / 432.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.2422, allocations: 0.6911 MB / 432.9 MB, free: 4.355 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.2424, allocations: 210 kB / 433.1 MB, free: 4.266 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000123/0.2425, allocations: 42.8 kB / 433.2 MB, free: 4.262 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.2426, allocations: 27.34 kB / 433.2 MB, free: 4.254 MB / 330.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2426, allocations: 0 / 433.2 MB, free: 4.254 MB / 330.7 MB Notification: Performance of Templates: time 0.01377/0.2563, allocations: 9.863 MB / 443 MB, free: 14.74 MB / 346.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: 6.086632752791047]