Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.SteadyStates.Examples.O2_in_water.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.0006853/0.0006853, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008835/0.001569, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007028/0.0007028, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008639/0.001567, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9707/0.9707, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08064/1.051, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.0517/0.0517, allocations: 12.75 MB / 256.7 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01013/0.06184, allocations: 4.832 MB / 261.5 MB, free: 13.26 MB / 266.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.SteadyStates.Examples.O2_in_water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.SteadyStates.Examples.O2_in_water") translateModel(Bodylight.SteadyStates.Examples.O2_in_water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.SteadyStates.Examples.O2_in_water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 262.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.308e-05/1.459e-05, allocations: 2.312 kB / 262.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.SteadyStates.Examples.O2_in_water): time 0.004706/0.004721, allocations: 2.84 MB / 265.8 MB, free: 9.023 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006407/0.01113, allocations: 2.064 MB / 267.8 MB, free: 6.949 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.01124, allocations: 7.938 kB / 267.8 MB, free: 6.941 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.01134, allocations: 31.7 kB / 267.9 MB, free: 6.91 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.SteadyStates.Examples.O2_in_water.oxygen_dissolved.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.SteadyStates.Examples.O2_in_water.oxygen_dissolved.Utilities.readReal' contains a call to impure function 'Bodylight.SteadyStates.Examples.O2_in_water.oxygen_dissolved.Utilities.UnitConversions.findUnit'. Notification: Performance of NFTyping.typeBindings: time 0.0006606/0.012, allocations: 254.4 kB / 268.1 MB, free: 6.66 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.SteadyStates.Examples.O2_in_water.oxygen_dissolved.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.SteadyStates.Examples.O2_in_water.oxygen_dissolved.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. Notification: Performance of NFTyping.typeClassSections: time 0.0005627/0.01256, allocations: 298.9 kB / 268.4 MB, free: 6.367 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003311/0.01587, allocations: 242.6 kB / 268.6 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.016, allocations: 46.52 kB / 268.7 MB, free: 6.082 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002598/0.01626, allocations: 147.6 kB / 268.8 MB, free: 5.938 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.01639, allocations: 67.73 kB / 268.9 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.01642, allocations: 12 kB / 268.9 MB, free: 5.859 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.477e-05/0.0165, allocations: 24 kB / 268.9 MB, free: 5.836 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.889e-05/0.01653, allocations: 19.88 kB / 268.9 MB, free: 5.816 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.421e-05/0.0166, allocations: 51.94 kB / 269 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.01685, allocations: 147.4 kB / 269.1 MB, free: 5.621 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.517e-05/0.01686, allocations: 0 / 269.1 MB, free: 5.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.01686, allocations: 0 / 269.1 MB, free: 5.621 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.01688, allocations: 3.938 kB / 269.1 MB, free: 5.617 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006132/0.01749, allocations: 447.4 kB / 269.6 MB, free: 5.156 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.01753, allocations: 12.03 kB / 269.6 MB, free: 5.145 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002186/0.01774, allocations: 118 kB / 269.7 MB, free: 5.012 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.018, allocations: 181.4 kB / 269.9 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.01802, allocations: 8.375 kB / 269.9 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.01803, allocations: 12.38 kB / 269.9 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.0182, allocations: 106.9 kB / 270 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.01821, allocations: 3.938 kB / 270 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.01822, allocations: 4 kB / 270 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.01823, allocations: 4 kB / 270 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.038e-05/0.0183, allocations: 27.97 kB / 270.1 MB, free: 4.637 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00263/0.02093, allocations: 376.5 kB / 270.4 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.02104, allocations: 42.55 kB / 270.5 MB, free: 4.191 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.02107, allocations: 16.86 kB / 270.5 MB, free: 4.172 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.02109, allocations: 3.938 kB / 270.5 MB, free: 4.168 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.02111, allocations: 38.56 kB / 270.5 MB, free: 4.121 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.02112, allocations: 0 / 270.5 MB, free: 4.121 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.003578/0.02469, allocations: 141.7 kB / 270.7 MB, free: 3.977 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.02473, allocations: 55.41 kB / 270.7 MB, free: 3.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.02487, allocations: 207.4 kB / 270.9 MB, free: 3.695 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.02488, allocations: 25.7 kB / 270.9 MB, free: 3.664 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.02494, allocations: 151.5 kB / 271.1 MB, free: 3.512 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.02496, allocations: 27.78 kB / 271.1 MB, free: 3.484 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.025, allocations: 29.7 kB / 271.1 MB, free: 3.449 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.09e-05/0.02508, allocations: 334.8 kB / 271.5 MB, free: 3.113 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.202e-05/0.02511, allocations: 8 kB / 271.5 MB, free: 3.105 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.429e-05/0.02516, allocations: 85.36 kB / 271.6 MB, free: 2.988 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.657e-05/0.02526, allocations: 113.3 kB / 271.7 MB, free: 2.844 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.02526, allocations: 0 / 271.7 MB, free: 2.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001316/0.02539, allocations: 129.3 kB / 271.8 MB, free: 2.711 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.02541, allocations: 4 kB / 271.8 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.02541, allocations: 4 kB / 271.8 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.02542, allocations: 7.984 kB / 271.8 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.02564, allocations: 51.91 kB / 271.9 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.02565, allocations: 4 kB / 271.9 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.261e-05/0.02572, allocations: 28.08 kB / 271.9 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.02573, allocations: 12 kB / 271.9 MB, free: 2.602 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.566e-05/0.02579, allocations: 117.8 kB / 272 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.02582, allocations: 11.92 kB / 272 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.02593, allocations: 79.06 kB / 272.1 MB, free: 2.387 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.02594, allocations: 4 kB / 272.1 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.02594, allocations: 0 / 272.1 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.02594, allocations: 0 / 272.1 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.02607, allocations: 105.8 kB / 272.2 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.02607, allocations: 0 / 272.2 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.02619, allocations: 43.91 kB / 272.3 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.02622, allocations: 23.83 kB / 272.3 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.02623, allocations: 0 / 272.3 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.02623, allocations: 0 / 272.3 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.02623, allocations: 0 / 272.3 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.02623, allocations: 480 / 272.3 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.02637, allocations: 159.5 kB / 272.4 MB, free: 2.023 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.0264, allocations: 7.938 kB / 272.4 MB, free: 2.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.02652, allocations: 11.94 kB / 272.5 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.02655, allocations: 0 / 272.5 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.02656, allocations: 11.98 kB / 272.5 MB, free: 1.992 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.429e-05/0.02662, allocations: 55.19 kB / 272.5 MB, free: 1.938 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02662, allocations: 0 / 272.5 MB, free: 1.938 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002741/0.0269, allocations: 43.94 kB / 272.6 MB, free: 1.895 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001088/0.02701, allocations: 84.33 kB / 272.7 MB, free: 1.801 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.02715, allocations: 52.72 kB / 272.7 MB, free: 1.746 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/0.02716, allocations: 4.625 kB / 272.7 MB, free: 1.742 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.318e-05/0.02719, allocations: 24.84 kB / 272.7 MB, free: 1.715 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.0275, allocations: 60.64 kB / 272.8 MB, free: 1.648 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007427/0.03493, allocations: 412.8 kB / 273.2 MB, free: 1.219 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.677e-05/0.035, allocations: 79.92 kB / 273.3 MB, free: 1.121 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.03512, allocations: 17.47 kB / 273.3 MB, free: 1.102 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.03527, allocations: 87.36 kB / 273.4 MB, free: 1.016 MB / 266.7 MB Notification: Performance of SimCode: time 1.653e-06/0.03527, allocations: 4 kB / 273.4 MB, free: 1.012 MB / 266.7 MB Notification: Performance of Templates: time 0.1041/0.1394, allocations: 2.229 MB / 275.6 MB, free: 7.344 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.SteadyStates.Examples.O2_in_water.makefile [Timeout 660] (rm -f Bodylight_Bodylight.SteadyStates.Examples.O2_in_water.pipe ; mkfifo Bodylight_Bodylight.SteadyStates.Examples.O2_in_water.pipe ; head -c 1048576 < Bodylight_Bodylight.SteadyStates.Examples.O2_in_water.pipe >> ../files/Bodylight_Bodylight.SteadyStates.Examples.O2_in_water.sim & ./Bodylight_Bodylight.SteadyStates.Examples.O2_in_water -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.SteadyStates.Examples.O2_in_water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.694023392163217]