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.001349/0.001349, allocations: 77.14 kB / 20.67 MB, free: 3.836 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.001503/0.001503, allocations: 165 kB / 24.06 MB, free: 456 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.9149/0.9149, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.05203/0.05203, allocations: 12.76 MB / 273.8 MB, free: 140 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.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.803e-06/1.803e-06, allocations: 4 kB / 348.1 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.28e-05, allocations: 6.25 kB / 348.1 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.SteadyStates.Examples.O2_in_water): time 0.002565/0.002588, allocations: 2.775 MB / 350.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.004903, allocations: 1.994 MB / 352.8 MB, free: 12.05 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.005006, allocations: 11.88 kB / 352.8 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.005126, allocations: 31.66 kB / 352.9 MB, free: 12 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.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.000633/0.005759, allocations: 278.3 kB / 353.1 MB, free: 11.73 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.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.0004786/0.006237, allocations: 303 kB / 353.4 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.006464, allocations: 250.6 kB / 353.7 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.848e-05/0.006562, allocations: 44.48 kB / 353.7 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.006729, allocations: 127.7 kB / 353.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.006836, allocations: 59.83 kB / 353.9 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.006854, allocations: 12 kB / 353.9 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.917e-05/0.006903, allocations: 23.98 kB / 353.9 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.006928, allocations: 31.84 kB / 354 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.006975, allocations: 67.78 kB / 354 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.007156, allocations: 159.3 kB / 354.2 MB, free: 10.67 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.007157, allocations: 0 / 354.2 MB, free: 10.67 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.007158, allocations: 0 / 354.2 MB, free: 10.67 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.007162, allocations: 0 / 354.2 MB, free: 10.67 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0004363/0.007598, allocations: 0.5074 MB / 354.7 MB, free: 10.13 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.007631, allocations: 15.98 kB / 354.7 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.007767, allocations: 44.78 kB / 354.8 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.007952, allocations: 200.2 kB / 355 MB, free: 9.848 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.007965, allocations: 12.38 kB / 355 MB, free: 9.836 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.007979, allocations: 20.36 kB / 355 MB, free: 9.816 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.008102, allocations: 103.4 kB / 355.1 MB, free: 9.707 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.008116, allocations: 3.938 kB / 355.1 MB, free: 9.703 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.008126, allocations: 8 kB / 355.1 MB, free: 9.695 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.008132, allocations: 4 kB / 355.1 MB, free: 9.691 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.294e-05/0.008185, allocations: 39.91 kB / 355.2 MB, free: 9.652 MB / 282.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.0004807/0.008666, allocations: 486.3 kB / 355.6 MB, free: 9.137 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.197e-05/0.008758, allocations: 54.97 kB / 355.7 MB, free: 9.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.93e-05/0.008787, allocations: 23.62 kB / 355.7 MB, free: 9.043 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.008802, allocations: 4 kB / 355.7 MB, free: 9.039 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.008819, allocations: 33.39 kB / 355.7 MB, free: 8.996 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.00882, allocations: 0 / 355.7 MB, free: 8.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006633/0.009483, allocations: 269.2 kB / 356 MB, free: 8.727 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/0.009502, allocations: 55.41 kB / 356.1 MB, free: 8.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.009622, allocations: 258.5 kB / 356.3 MB, free: 8.387 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.009637, allocations: 33.7 kB / 356.3 MB, free: 8.348 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.009712, allocations: 198.9 kB / 356.5 MB, free: 8.148 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.009739, allocations: 51.56 kB / 356.6 MB, free: 8.098 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.009792, allocations: 51.3 kB / 356.6 MB, free: 8.039 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.009895, allocations: 0.5078 MB / 357.1 MB, free: 7.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.248e-05/0.009927, allocations: 19.98 kB / 357.2 MB, free: 7.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.842e-05/0.01001, allocations: 127.7 kB / 357.3 MB, free: 7.332 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.01013, allocations: 164.4 kB / 357.4 MB, free: 7.125 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.01013, allocations: 4 kB / 357.5 MB, free: 7.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001737/0.0103, allocations: 165.1 kB / 357.6 MB, free: 6.957 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.01031, allocations: 8 kB / 357.6 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.01032, allocations: 0 / 357.6 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.01033, allocations: 4.312 kB / 357.6 MB, free: 6.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.0105, allocations: 71.89 kB / 357.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.0105, allocations: 7.938 kB / 357.7 MB, free: 6.867 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.775e-05/0.01058, allocations: 19.94 kB / 357.7 MB, free: 6.848 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.01059, allocations: 4 kB / 357.7 MB, free: 6.844 MB / 282.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): 24 * 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 7.859e-05/0.01067, allocations: 172.5 kB / 357.9 MB, free: 6.664 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.0107, allocations: 19.91 kB / 357.9 MB, free: 6.645 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/0.01085, allocations: 127.1 kB / 358 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.01086, allocations: 0 / 358 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.01086, allocations: 0 / 358 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.0109, allocations: 27.84 kB / 358.1 MB, free: 6.484 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.01092, allocations: 0 / 358.1 MB, free: 6.484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-05/0.01099, allocations: 15.92 kB / 358.1 MB, free: 6.469 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.01102, allocations: 7.984 kB / 358.1 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002131/0.01123, allocations: 244.8 kB / 358.3 MB, free: 6.215 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000171/0.0114, allocations: 374.9 kB / 358.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.55e-05/0.01145, allocations: 46.52 kB / 358.7 MB, free: 5.781 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.23e-05/0.01151, allocations: 181.5 kB / 358.9 MB, free: 5.605 MB / 282.7 MB Notification: Performance of Backend: time 2.31e-07/0.01151, allocations: 0 / 358.9 MB, free: 5.605 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003122/0.01182, allocations: 156.7 kB / 359.1 MB, free: 5.441 MB / 282.7 MB Error: Error parsing unit kcal/min: Unit not found Error: Error parsing unit kcal: Unit not found Error: Error parsing unit %: Parse error Error: Error parsing unit kcal/mol: Unit not found Notification: Performance of SimCode: time 0.0013/0.01312, allocations: 1.185 MB / 360.3 MB, free: 4.199 MB / 282.7 MB Notification: Performance of Templates: time 0.004246/0.01737, allocations: 2.847 MB / 363.1 MB, free: 1.406 MB / 282.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.6080748178064823]