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.001088/0.001088, allocations: 113.2 kB / 16.37 MB, free: 5.984 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.001018/0.001018, allocations: 194.7 kB / 17.31 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001988/0.001989, allocations: 287.9 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8893/0.8893, allocations: 169.3 MB / 0.4989 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 94.59 kB / 0.5967 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1553, allocations: 86.97 MB / 0.6816 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002118/0.1575, allocations: 1.28 MB / 0.6829 GB, free: 6.121 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3986/0.5561, allocations: 147.6 MB / 0.827 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.337e-05/0.5561, allocations: 0 / 0.827 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.5562, allocations: 4 kB / 0.827 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.634e-05/0.5562, allocations: 7.938 kB / 0.827 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.5567, allocations: 117.2 kB / 0.8272 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.454e-05/0.5567, allocations: 31.84 kB / 0.8272 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.5568, allocations: 3.938 kB / 0.8272 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.036e-05/0.5568, allocations: 4 kB / 0.8272 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 3.258e-05/0.5569, allocations: 4.562 kB / 0.8272 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.5569, allocations: 0 / 0.8272 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003806/0.5573, allocations: 175.7 kB / 0.8274 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.5573, allocations: 7.938 kB / 0.8274 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.5573, allocations: 7.984 kB / 0.8274 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.5575, allocations: 107.1 kB / 0.8275 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5575, allocations: 0 / 0.8275 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5575, allocations: 4 kB / 0.8275 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.5576, allocations: 0 / 0.8275 GB, free: 9.254 MB / 0.5919 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.0003667/0.5579, allocations: 347.5 kB / 0.8278 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.558, allocations: 12.03 kB / 0.8278 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005362/0.5585, allocations: 37.52 kB / 0.8279 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.5587, allocations: 174 kB / 0.828 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.5587, allocations: 7.938 kB / 0.828 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.5587, allocations: 4 kB / 0.828 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.5589, allocations: 45.66 kB / 0.8281 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.5589, allocations: 0 / 0.8281 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.5589, allocations: 4 kB / 0.8281 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.5589, allocations: 0 / 0.8281 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.559, allocations: 19.98 kB / 0.8281 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.5594, allocations: 248.9 kB / 0.8283 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.085e-05/0.5594, allocations: 26.52 kB / 0.8284 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.112e-05/0.5594, allocations: 13.8 kB / 0.8284 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.5595, allocations: 4 kB / 0.8284 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.5595, allocations: 30.56 kB / 0.8284 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.5595, allocations: 0 / 0.8284 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0001329/0.5596, allocations: 41.69 kB / 0.8285 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.5597, allocations: 55.34 kB / 0.8285 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.5598, allocations: 114 kB / 0.8286 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.5598, allocations: 33.64 kB / 0.8287 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.5599, allocations: 87.98 kB / 0.8287 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-06/0.5599, allocations: 7.984 kB / 0.8287 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.5599, allocations: 17.7 kB / 0.8288 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.56, allocations: 318.8 kB / 0.8291 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-05/0.5601, allocations: 7.984 kB / 0.8291 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.266e-05/0.5602, allocations: 15.98 kB / 0.8291 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.604e-05/0.5602, allocations: 16.86 kB / 0.8291 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5602, allocations: 0 / 0.8291 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001736/0.5604, allocations: 69.83 kB / 0.8292 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.5604, allocations: 4 kB / 0.8292 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.5605, allocations: 1.312 kB / 0.8292 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.5605, allocations: 0 / 0.8292 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.682e-05/0.5606, allocations: 15.98 kB / 0.8292 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.5606, allocations: 0 / 0.8292 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.5607, allocations: 4 kB / 0.8292 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.5608, allocations: 11.92 kB / 0.8292 GB, free: 7.273 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.074e-05/0.5608, allocations: 109.8 kB / 0.8293 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.5609, allocations: 3.984 kB / 0.8293 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.989e-05/0.5609, allocations: 11.06 kB / 0.8293 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.5609, allocations: 4 kB / 0.8293 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.5609, allocations: 0 / 0.8293 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.5609, allocations: 0 / 0.8293 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.5611, allocations: 161 kB / 0.8295 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5611, allocations: 0 / 0.8295 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.447e-05/0.5611, allocations: 4 kB / 0.8295 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.5611, allocations: 3.984 kB / 0.8295 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.5611, allocations: 0 / 0.8295 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5611, allocations: 0 / 0.8295 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5611, allocations: 0 / 0.8295 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.5612, allocations: 143.4 kB / 0.8296 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.5613, allocations: 85 kB / 0.8297 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.5613, allocations: 0 / 0.8297 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.719e-05/0.5614, allocations: 4 kB / 0.8297 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.232e-05/0.5614, allocations: 0 / 0.8297 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.5614, allocations: 0 / 0.8297 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.919e-05/0.5615, allocations: 99.23 kB / 0.8298 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5615, allocations: 0 / 0.8298 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002307/0.5618, allocations: 12 kB / 0.8298 GB, free: 6.555 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001441/0.5619, allocations: 119.2 kB / 0.8299 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.562, allocations: 15.98 kB / 0.8299 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.562, allocations: 3.938 kB / 0.83 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.404e-05/0.5621, allocations: 15.92 kB / 0.83 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.5624, allocations: 10.03 kB / 0.83 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.5626, allocations: 125 kB / 0.8301 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.5628, allocations: 0.6768 MB / 0.8308 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.138e-05/0.5629, allocations: 4.062 kB / 0.8308 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.315e-05/0.5629, allocations: 11.44 kB / 0.8308 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.5629, allocations: 0 / 0.8308 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of Templates: time 0.002669/0.5656, allocations: 0.7472 MB / 0.8315 GB, free: 4.789 MB / 0.5919 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)