Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000812/0.0008119, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008021/0.0008021, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001687/0.001687, allocations: 281.2 kB / 291.4 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8973/0.8973, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000501/0.0005011, allocations: 14.2 kB / 0.598 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1836, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001174/0.1848, allocations: 0.9991 MB / 0.6855 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4633/0.6481, allocations: 134 MB / 0.8164 GB, free: 1.301 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.491e-05/0.6482, allocations: 1.219 kB / 0.8164 GB, free: 1.301 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.6482, allocations: 0 / 0.8164 GB, free: 1.301 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.566e-05/0.6483, allocations: 14 kB / 0.8164 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.6486, allocations: 91.28 kB / 0.8165 GB, free: 1.277 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.053e-05/0.6487, allocations: 22.7 kB / 0.8165 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.157e-05/0.6488, allocations: 4.969 kB / 0.8165 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.388e-05/0.6488, allocations: 8.188 kB / 0.8165 GB, free: 1.262 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.76e-05/0.6488, allocations: 8.375 kB / 0.8165 GB, free: 1.262 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.6489, allocations: 1.094 kB / 0.8165 GB, free: 1.262 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003582/0.6492, allocations: 180.9 kB / 0.8167 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.734e-06/0.6492, allocations: 1.406 kB / 0.8167 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.44e-05/0.6493, allocations: 30.95 kB / 0.8167 GB, free: 17.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.6495, allocations: 80.12 kB / 0.8168 GB, free: 17.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6495, allocations: 0 / 0.8168 GB, free: 17.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6495, allocations: 1.156 kB / 0.8168 GB, free: 17.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.6495, allocations: 0 / 0.8168 GB, free: 17.2 MB / 0.5606 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.0002668/0.6498, allocations: 341.5 kB / 0.8171 GB, free: 16.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.6498, allocations: 9.156 kB / 0.8171 GB, free: 16.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005034/0.6503, allocations: 46.27 kB / 0.8172 GB, free: 16.83 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.6505, allocations: 164.8 kB / 0.8173 GB, free: 16.63 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.6505, allocations: 0 / 0.8173 GB, free: 16.63 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.6505, allocations: 1.188 kB / 0.8173 GB, free: 16.63 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.6507, allocations: 51.89 kB / 0.8174 GB, free: 16.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.6507, allocations: 1.156 kB / 0.8174 GB, free: 16.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.6507, allocations: 4 kB / 0.8174 GB, free: 16.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.6507, allocations: 3.953 kB / 0.8174 GB, free: 16.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.6509, allocations: 18.02 kB / 0.8174 GB, free: 16.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.6513, allocations: 251.2 kB / 0.8176 GB, free: 16.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.368e-05/0.6514, allocations: 23.5 kB / 0.8177 GB, free: 16.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.744e-05/0.6514, allocations: 19.8 kB / 0.8177 GB, free: 16.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.6514, allocations: 0 / 0.8177 GB, free: 16.28 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.6514, allocations: 35.78 kB / 0.8177 GB, free: 16.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.6515, allocations: 0 / 0.8177 GB, free: 16.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000179/0.6516, allocations: 44.06 kB / 0.8178 GB, free: 16.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.6517, allocations: 52.38 kB / 0.8178 GB, free: 16.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.6518, allocations: 116.8 kB / 0.8179 GB, free: 16.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.6519, allocations: 27.11 kB / 0.818 GB, free: 16.01 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.6519, allocations: 84.08 kB / 0.818 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.624e-06/0.6519, allocations: 5.031 kB / 0.818 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.652, allocations: 1.375 kB / 0.818 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.6521, allocations: 313.8 kB / 0.8183 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.906e-05/0.6522, allocations: 14.84 kB / 0.8184 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.999e-05/0.6522, allocations: 12.84 kB / 0.8184 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.909e-05/0.6523, allocations: 10.94 kB / 0.8184 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.6523, allocations: 0 / 0.8184 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001753/0.6525, allocations: 59.78 kB / 0.8184 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.6525, allocations: 4.906 kB / 0.8184 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6525, allocations: 6.328 kB / 0.8184 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.6525, allocations: 5.422 kB / 0.8184 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.6527, allocations: 11.7 kB / 0.8185 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.6527, allocations: 1.469 kB / 0.8185 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.6528, allocations: 11.17 kB / 0.8185 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.6528, allocations: 3.844 kB / 0.8185 GB, free: 15.55 MB / 0.5606 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 (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 prepare postOptimizeDAE: time 0.0001022/0.6529, allocations: 111.8 kB / 0.8186 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.653, allocations: 1.469 kB / 0.8186 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.653, allocations: 8.875 kB / 0.8186 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.653, allocations: 10.61 kB / 0.8186 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.653, allocations: 0 / 0.8186 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.653, allocations: 336 / 0.8186 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.6532, allocations: 154.9 kB / 0.8187 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6532, allocations: 1.969 kB / 0.8187 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-05/0.6533, allocations: 2.781 kB / 0.8188 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.6533, allocations: 3.984 kB / 0.8188 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.6533, allocations: 1.312 kB / 0.8188 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.6533, allocations: 0 / 0.8188 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.6533, allocations: 3.953 kB / 0.8188 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.6534, allocations: 137.1 kB / 0.8189 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.6535, allocations: 84.62 kB / 0.819 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.6536, allocations: 7.047 kB / 0.819 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.6537, allocations: 2.156 kB / 0.819 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/0.6537, allocations: 1.062 kB / 0.819 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.6537, allocations: 7.891 kB / 0.819 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001037/0.6538, allocations: 94.98 kB / 0.8191 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6538, allocations: 0 / 0.8191 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002826/0.6541, allocations: 16.38 kB / 0.8191 GB, free: 14.91 MB / 0.5606 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 (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.0002334/0.6544, allocations: 108.3 kB / 0.8192 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.6545, allocations: 18.56 kB / 0.8192 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6545, allocations: 0 / 0.8192 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.605e-05/0.6546, allocations: 10.69 kB / 0.8192 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.6549, allocations: 7.562 kB / 0.8192 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/0.6553, allocations: 138.9 kB / 0.8194 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.6557, allocations: 0.6744 MB / 0.82 GB, free: 14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.287e-05/0.6558, allocations: 11.22 kB / 0.82 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.6558, allocations: 11.94 kB / 0.82 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.6558, allocations: 0 / 0.82 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.003003/0.6588, allocations: 0.7012 MB / 0.8207 GB, free: 13.91 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)