Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7468/0.7468, allocations: 140.1 MB / 156 MB, free: 5.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 185.3 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.4 MB / 426.3 MB, free: 8.453 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007802/0.0007802, allocations: 82.36 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001696/0.001696, allocations: 269.7 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004652, allocations: 16 kB / 0.662 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3702, allocations: 79.31 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.4989, allocations: 107.6 MB / 0.8445 GB, free: 2.605 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.4992, allocations: 75.95 kB / 0.8446 GB, free: 2.531 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.002778/0.502, allocations: 0.9864 MB / 0.8456 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.224e-06/0.502, allocations: 0 / 0.8456 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.502, allocations: 0 / 0.8456 GB, free: 1.543 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003788/0.5024, allocations: 343.5 kB / 0.8459 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.5024, allocations: 8.031 kB / 0.8459 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.5025, allocations: 8.844 kB / 0.8459 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.5027, allocations: 164.4 kB / 0.8461 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.5027, allocations: 4.375 kB / 0.8461 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.5027, allocations: 4.375 kB / 0.8461 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.5029, allocations: 54.23 kB / 0.8461 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.5029, allocations: 4.125 kB / 0.8461 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.5029, allocations: 3.938 kB / 0.8461 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.5029, allocations: 0 / 0.8461 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.5031, allocations: 47.95 kB / 0.8462 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.5035, allocations: 248.8 kB / 0.8464 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.5036, allocations: 54.53 kB / 0.8465 GB, free: 476 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.005e-05/0.5037, allocations: 20.91 kB / 0.8465 GB, free: 452 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.5038, allocations: 0 / 0.8465 GB, free: 452 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.5038, allocations: 42.5 kB / 0.8465 GB, free: 400 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5038, allocations: 0 / 0.8465 GB, free: 400 kB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0003221/0.5041, allocations: 93.64 kB / 0.8466 GB, free: 300 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.5042, allocations: 51.41 kB / 0.8467 GB, free: 236 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.311e-05/0.5043, allocations: 106 kB / 0.8468 GB, free: 120 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.5043, allocations: 29.7 kB / 0.8468 GB, free: 84 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.5043, allocations: 84.22 kB / 0.8469 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.5044, allocations: 4 kB / 0.8469 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.5044, allocations: 0 / 0.8469 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.5045, allocations: 310.8 kB / 0.8472 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.857e-05/0.5046, allocations: 31.97 kB / 0.8472 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.366e-05/0.5046, allocations: 19.92 kB / 0.8472 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.5048, allocations: 52.89 kB / 0.8473 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5048, allocations: 0 / 0.8473 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001749/0.505, allocations: 81.5 kB / 0.8474 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.505, allocations: 4 kB / 0.8474 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.505, allocations: 0 / 0.8474 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.505, allocations: 4.031 kB / 0.8474 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.266e-05/0.5051, allocations: 11.98 kB / 0.8474 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.5052, allocations: 4 kB / 0.8474 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.5052, allocations: 19.92 kB / 0.8474 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.5052, allocations: 0 / 0.8474 GB, free: 15.44 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.657e-05/0.5053, allocations: 117.7 kB / 0.8475 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.5053, allocations: 0 / 0.8475 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.5056, allocations: 88.77 kB / 0.8476 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.5056, allocations: 240 / 0.8476 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.5056, allocations: 4 kB / 0.8476 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.5056, allocations: 3.984 kB / 0.8476 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.5058, allocations: 161.6 kB / 0.8478 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.5058, allocations: 0 / 0.8478 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.956e-05/0.5059, allocations: 15.98 kB / 0.8478 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.5059, allocations: 0 / 0.8478 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.5059, allocations: 0 / 0.8478 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5059, allocations: 0 / 0.8478 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5059, allocations: 0 / 0.8478 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.5061, allocations: 183.4 kB / 0.848 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.5062, allocations: 85 kB / 0.848 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.5062, allocations: 4 kB / 0.848 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.5063, allocations: 11.94 kB / 0.8481 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.5063, allocations: 7.984 kB / 0.8481 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.5063, allocations: 4 kB / 0.8481 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.357e-05/0.5064, allocations: 75.28 kB / 0.8481 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5064, allocations: 0 / 0.8481 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002052/0.5066, allocations: 8 kB / 0.8481 GB, free: 14.59 MB / 0.5261 GB 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001221/0.5067, allocations: 99.25 kB / 0.8482 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.5069, allocations: 55.89 kB / 0.8483 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5069, allocations: 0 / 0.8483 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.712e-05/0.507, allocations: 23.98 kB / 0.8483 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.5073, allocations: 11.92 kB / 0.8483 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.5077, allocations: 133.2 kB / 0.8485 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.5079, allocations: 0.677 MB / 0.8491 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.025e-05/0.5079, allocations: 0 / 0.8491 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/0.5079, allocations: 7.438 kB / 0.8491 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/0.508, allocations: 0 / 0.8491 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of Templates: time 0.002161/0.5101, allocations: 425.6 kB / 0.8495 GB, free: 13.12 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)