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.000708/0.000708, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008711/0.001579, allocations: 440 kB / 10.41 MB, free: 280 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.0006636/0.0006636, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008784/0.001542, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.9021/0.9021, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09138/0.9934, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.07444/0.07444, allocations: 12.74 MB / 256.9 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00735/0.08179, allocations: 4.845 MB / 261.7 MB, free: 13.14 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.563e-06/1.563e-06, allocations: 0 / 263.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.548e-05, allocations: 2.312 kB / 263.1 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.SteadyStates.Examples.O2_in_water): time 0.00417/0.004185, allocations: 2.844 MB / 266 MB, free: 8.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003363/0.007549, allocations: 2.056 MB / 268 MB, free: 6.812 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.007667, allocations: 7.938 kB / 268 MB, free: 6.805 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.007774, allocations: 35.66 kB / 268.1 MB, free: 6.77 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.0007341/0.008509, allocations: 262.3 kB / 268.3 MB, free: 6.512 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.0006069/0.009115, allocations: 290.9 kB / 268.6 MB, free: 6.227 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000291/0.009406, allocations: 254.6 kB / 268.9 MB, free: 5.977 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.00953, allocations: 46.5 kB / 268.9 MB, free: 5.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.00976, allocations: 139.6 kB / 269 MB, free: 5.793 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.00989, allocations: 67.73 kB / 269.1 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.009914, allocations: 12 kB / 269.1 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.889e-05/0.009993, allocations: 20 kB / 269.1 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.819e-05/0.01003, allocations: 23.88 kB / 269.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.055e-05/0.01009, allocations: 51.88 kB / 269.2 MB, free: 5.621 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.01035, allocations: 147.4 kB / 269.4 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.01036, allocations: 0 / 269.4 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01036, allocations: 7.938 kB / 269.4 MB, free: 5.469 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.01037, allocations: 0 / 269.4 MB, free: 5.469 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.0005852/0.01096, allocations: 447.5 kB / 269.8 MB, free: 5.008 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.01099, allocations: 8.031 kB / 269.8 MB, free: 5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.0112, allocations: 114 kB / 269.9 MB, free: 4.871 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.01146, allocations: 189.4 kB / 270.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.01147, allocations: 8.375 kB / 270.1 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.01149, allocations: 16.38 kB / 270.1 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.0117, allocations: 98.89 kB / 270.2 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.01171, allocations: 3.938 kB / 270.2 MB, free: 4.527 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.01173, allocations: 8 kB / 270.2 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.01174, allocations: 7.938 kB / 270.2 MB, free: 4.512 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.376e-05/0.0118, allocations: 27.98 kB / 270.3 MB, free: 4.484 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.0005773/0.01238, allocations: 376.5 kB / 270.6 MB, free: 4.086 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.692e-05/0.01247, allocations: 46.48 kB / 270.7 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.989e-05/0.0125, allocations: 16.84 kB / 270.7 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.01252, allocations: 3.938 kB / 270.7 MB, free: 4.008 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.01254, allocations: 38.56 kB / 270.7 MB, free: 3.961 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.01254, allocations: 0 / 270.7 MB, free: 3.961 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004147/0.01295, allocations: 133.8 kB / 270.9 MB, free: 3.824 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.01298, allocations: 59.34 kB / 270.9 MB, free: 3.754 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.01318, allocations: 203.4 kB / 271.1 MB, free: 3.539 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.0132, allocations: 29.7 kB / 271.2 MB, free: 3.504 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.01327, allocations: 147.5 kB / 271.3 MB, free: 3.355 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.01329, allocations: 23.8 kB / 271.3 MB, free: 3.332 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.01334, allocations: 37.69 kB / 271.4 MB, free: 3.289 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.01343, allocations: 330.8 kB / 271.7 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.758e-05/0.01346, allocations: 15.98 kB / 271.7 MB, free: 2.941 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.055e-05/0.01353, allocations: 77.42 kB / 271.8 MB, free: 2.832 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.01365, allocations: 117.3 kB / 271.9 MB, free: 2.684 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01365, allocations: 7.875 kB / 271.9 MB, free: 2.676 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001527/0.0138, allocations: 113.4 kB / 272 MB, free: 2.559 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.01382, allocations: 8 kB / 272 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01382, allocations: 3.938 kB / 272 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.01384, allocations: 4.312 kB / 272 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.01406, allocations: 63.95 kB / 272.1 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.01407, allocations: 7.938 kB / 272.1 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.314e-05/0.01416, allocations: 23.83 kB / 272.1 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.01417, allocations: 8 kB / 272.1 MB, free: 2.441 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.82e-05/0.01424, allocations: 117.8 kB / 272.2 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.01427, allocations: 15.92 kB / 272.3 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.01439, allocations: 83 kB / 272.3 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.01439, allocations: 0 / 272.3 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.0144, allocations: 0 / 272.3 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.0144, allocations: 0 / 272.3 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.01455, allocations: 109.8 kB / 272.5 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01455, allocations: 0 / 272.5 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.01467, allocations: 31.97 kB / 272.5 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.01472, allocations: 23.83 kB / 272.5 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01472, allocations: 0 / 272.5 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.01472, allocations: 0 / 272.5 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01473, allocations: 4 kB / 272.5 MB, free: 2.035 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.01473, allocations: 8.469 kB / 272.5 MB, free: 2.027 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.01486, allocations: 163.4 kB / 272.7 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.01488, allocations: 3.938 kB / 272.7 MB, free: 1.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.673e-05/0.01497, allocations: 11.94 kB / 272.7 MB, free: 1.836 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.01499, allocations: 4 kB / 272.7 MB, free: 1.832 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.015, allocations: 4 kB / 272.7 MB, free: 1.828 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.941e-05/0.01506, allocations: 55.42 kB / 272.8 MB, free: 1.773 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01506, allocations: 0 / 272.8 MB, free: 1.773 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004033/0.01546, allocations: 39.94 kB / 272.8 MB, free: 1.734 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 7.833e-05/0.01554, allocations: 80.41 kB / 272.9 MB, free: 1.645 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.01565, allocations: 64.64 kB / 272.9 MB, free: 1.578 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.01566, allocations: 4 kB / 272.9 MB, free: 1.574 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.588e-05/0.0157, allocations: 28.84 kB / 273 MB, free: 1.543 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.0161, allocations: 363.1 kB / 273.3 MB, free: 1.121 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007685/0.02378, allocations: 408.7 kB / 273.7 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.35e-05/0.02382, allocations: 71.98 kB / 273.8 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.142e-05/0.0239, allocations: 17.48 kB / 273.8 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.02401, allocations: 91.34 kB / 273.9 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02401, allocations: 0 / 273.9 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of Templates: time 0.1166/0.1406, allocations: 2.252 MB / 276.2 MB, free: 7.207 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.5177214881405234]