Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.823/0.823, allocations: 141.8 MB / 149.3 MB, free: 9.234 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009705/0.0009704, allocations: 180.2 kB / 182.2 MB, free: 9.461 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 221.5 MB / 436.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008758/0.0008757, allocations: 91.48 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001721/0.001721, allocations: 285.8 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.484e-05/1.487e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3688, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.4995, allocations: 108.9 MB / 0.8637 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.4998, allocations: 87.75 kB / 0.8638 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00574/0.5055, allocations: 1.798 MB / 0.8656 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5056, allocations: 0 / 0.8656 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.5056, allocations: 0 / 0.8656 GB, free: 1.078 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002907/0.5059, allocations: 338.5 kB / 0.8659 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.5059, allocations: 12.03 kB / 0.8659 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003577/0.5063, allocations: 19.97 kB / 0.8659 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.5064, allocations: 167.1 kB / 0.8661 GB, free: 480 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.5064, allocations: 3.953 kB / 0.8661 GB, free: 476 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.5065, allocations: 0 / 0.8661 GB, free: 476 kB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.934e-05/0.5065, allocations: 12 kB / 0.8661 GB, free: 464 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.828e-05/0.5066, allocations: 49.61 kB / 0.8661 GB, free: 408 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.5066, allocations: 0 / 0.8661 GB, free: 408 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.5067, allocations: 3.984 kB / 0.8661 GB, free: 404 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.5067, allocations: 4 kB / 0.8662 GB, free: 400 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.5068, allocations: 138.2 kB / 0.8663 GB, free: 224 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.248e-05/0.5069, allocations: 30.61 kB / 0.8663 GB, free: 184 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.221e-05/0.5069, allocations: 16.88 kB / 0.8663 GB, free: 164 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.507, allocations: 7.984 kB / 0.8663 GB, free: 156 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.507, allocations: 34.55 kB / 0.8664 GB, free: 112 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.507, allocations: 0 / 0.8664 GB, free: 112 kB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001481/0.5071, allocations: 53.53 kB / 0.8664 GB, free: 52 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.5072, allocations: 51.41 kB / 0.8665 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.294e-05/0.5073, allocations: 92.98 kB / 0.8666 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.5073, allocations: 25.7 kB / 0.8666 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.5073, allocations: 88.17 kB / 0.8667 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.5074, allocations: 11.92 kB / 0.8667 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.5074, allocations: 0 / 0.8667 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.5075, allocations: 314.8 kB / 0.867 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.5075, allocations: 8 kB / 0.867 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.453e-05/0.5075, allocations: 4 kB / 0.867 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.525e-05/0.5075, allocations: 11.98 kB / 0.867 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5076, allocations: 0 / 0.867 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.939e-05/0.5076, allocations: 49.66 kB / 0.867 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.5077, allocations: 15.98 kB / 0.8671 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.5077, allocations: 0 / 0.8671 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.5077, allocations: 0 / 0.8671 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.5078, allocations: 11.92 kB / 0.8671 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.5078, allocations: 0 / 0.8671 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.101e-05/0.5079, allocations: 4 kB / 0.8671 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.5079, allocations: 3.984 kB / 0.8671 GB, free: 15.33 MB / 0.5417 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 () * 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 6.947e-05/0.508, allocations: 101.8 kB / 0.8672 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.508, allocations: 4 kB / 0.8672 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.5081, allocations: 11.7 kB / 0.8672 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5081, allocations: 0 / 0.8672 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5081, allocations: 0 / 0.8672 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.5081, allocations: 0 / 0.8672 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.855e-05/0.5082, allocations: 134.2 kB / 0.8673 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5082, allocations: 0 / 0.8673 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.499e-05/0.5083, allocations: 11.92 kB / 0.8673 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5083, allocations: 4 kB / 0.8673 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.5083, allocations: 4 kB / 0.8673 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.5083, allocations: 3.984 kB / 0.8673 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5083, allocations: 3.953 kB / 0.8673 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.5084, allocations: 73.06 kB / 0.8674 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.965e-05/0.5085, allocations: 85.09 kB / 0.8675 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.5086, allocations: 4 kB / 0.8675 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.448e-05/0.5086, allocations: 4.031 kB / 0.8675 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.5086, allocations: 7.953 kB / 0.8675 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.5087, allocations: 3.984 kB / 0.8675 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.197e-05/0.5087, allocations: 75.28 kB / 0.8676 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5087, allocations: 0 / 0.8676 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002287/0.5089, allocations: 12 kB / 0.8676 GB, free: 14.71 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001765/0.5091, allocations: 119.2 kB / 0.8677 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.427e-05/0.5092, allocations: 27.98 kB / 0.8677 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5092, allocations: 0 / 0.8677 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.881e-05/0.5092, allocations: 4 kB / 0.8677 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.5094, allocations: 15.28 kB / 0.8678 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002129/0.5096, allocations: 59.94 kB / 0.8678 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.5099, allocations: 0.6768 MB / 0.8685 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.577e-05/0.51, allocations: 12.12 kB / 0.8685 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.51, allocations: 11.44 kB / 0.8685 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of SimCode: time 3.61e-07/0.51, allocations: 0 / 0.8685 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of Templates: time 0.002574/0.5126, allocations: 0.6915 MB / 0.8692 GB, free: 13.06 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)