Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.00713/0.00713, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.001472/0.001472, allocations: 184.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6043/0.6043, allocations: 95.47 MB / 365.4 MB, free: 9.789 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 67.91 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1715, allocations: 69.08 MB / 0.5711 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.003413/0.175, allocations: 1.28 MB / 0.5723 GB, free: 7.023 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.6919/0.8669, allocations: 154.6 MB / 0.7234 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.8671, allocations: 0 / 0.7234 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.8671, allocations: 0 / 0.7234 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.8672, allocations: 7.922 kB / 0.7234 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.8682, allocations: 159.4 kB / 0.7235 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.8684, allocations: 19.81 kB / 0.7235 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.629e-05/0.8685, allocations: 3.984 kB / 0.7235 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.752e-05/0.8685, allocations: 7.984 kB / 0.7235 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.712e-05/0.8685, allocations: 11.94 kB / 0.7236 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.8686, allocations: 0 / 0.7236 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005142/0.8691, allocations: 227 kB / 0.7238 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.8691, allocations: 0 / 0.7238 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.8692, allocations: 11.98 kB / 0.7238 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.8695, allocations: 137.7 kB / 0.7239 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.8695, allocations: 4 kB / 0.7239 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.504e-06/0.8695, allocations: 0 / 0.7239 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.8696, allocations: 0 / 0.7239 GB, free: 1.965 MB / 0.5294 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.0005773/0.8701, allocations: 359.4 kB / 0.7243 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/0.8702, allocations: 15.98 kB / 0.7243 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002574/0.8705, allocations: 16.39 kB / 0.7243 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.8707, allocations: 163 kB / 0.7245 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.8707, allocations: 0 / 0.7245 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.8707, allocations: 4 kB / 0.7245 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.8709, allocations: 41.69 kB / 0.7245 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.8709, allocations: 0 / 0.7245 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.8709, allocations: 0 / 0.7245 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.8709, allocations: 3.75 kB / 0.7245 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.107e-05/0.871, allocations: 8.688 kB / 0.7245 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008447/0.8718, allocations: 492.3 kB / 0.725 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.931e-05/0.8719, allocations: 34.52 kB / 0.725 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.447e-05/0.8719, allocations: 8.922 kB / 0.725 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.872, allocations: 0 / 0.725 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.872, allocations: 34.5 kB / 0.7251 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.872, allocations: 0 / 0.7251 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001836/0.8722, allocations: 45.69 kB / 0.7251 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.8723, allocations: 55.34 kB / 0.7251 GB, free: 488 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.215e-05/0.8724, allocations: 106 kB / 0.7252 GB, free: 372 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.8724, allocations: 25.7 kB / 0.7253 GB, free: 340 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.724e-05/0.8725, allocations: 84.05 kB / 0.7254 GB, free: 252 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.057e-06/0.8725, allocations: 11.84 kB / 0.7254 GB, free: 240 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.8725, allocations: 17.72 kB / 0.7254 GB, free: 216 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.8727, allocations: 310.8 kB / 0.7257 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.8727, allocations: 3.984 kB / 0.7257 GB, free: 15.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.283e-05/0.8727, allocations: 8 kB / 0.7257 GB, free: 15.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.706e-05/0.8728, allocations: 24.48 kB / 0.7257 GB, free: 15.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8728, allocations: 0 / 0.7257 GB, free: 15.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.708e-05/0.8728, allocations: 49.62 kB / 0.7258 GB, free: 15.81 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.8729, allocations: 7.938 kB / 0.7258 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.8729, allocations: 0 / 0.7258 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.8729, allocations: 0 / 0.7258 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.484e-05/0.873, allocations: 4 kB / 0.7258 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.873, allocations: 0 / 0.7258 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.873, allocations: 3.938 kB / 0.7258 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.873, allocations: 4 kB / 0.7258 GB, free: 15.79 MB / 0.545 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 8.487e-05/0.8731, allocations: 109.8 kB / 0.7259 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.8731, allocations: 7.922 kB / 0.7259 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.8732, allocations: 15.08 kB / 0.7259 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.8732, allocations: 0 / 0.7259 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.8732, allocations: 0 / 0.7259 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.8732, allocations: 0 / 0.7259 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.8734, allocations: 149.7 kB / 0.726 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8734, allocations: 0 / 0.726 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.8734, allocations: 4 kB / 0.7261 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.8734, allocations: 3.938 kB / 0.7261 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.8734, allocations: 4 kB / 0.7261 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.8734, allocations: 0 / 0.7261 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.8734, allocations: 0.8438 kB / 0.7261 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.8736, allocations: 147.4 kB / 0.7262 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.8736, allocations: 81.05 kB / 0.7263 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.8737, allocations: 0 / 0.7263 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.851e-05/0.8737, allocations: 0 / 0.7263 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.985e-05/0.8737, allocations: 4.031 kB / 0.7263 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.8737, allocations: 4 kB / 0.7263 GB, free: 15.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.928e-05/0.8738, allocations: 83.58 kB / 0.7264 GB, free: 15.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8738, allocations: 0 / 0.7264 GB, free: 15.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002602/0.8741, allocations: 31.94 kB / 0.7264 GB, free: 15.07 MB / 0.545 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.0002697/0.8743, allocations: 127.2 kB / 0.7265 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.92e-05/0.8744, allocations: 15.98 kB / 0.7265 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8745, allocations: 7.938 kB / 0.7265 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.527e-05/0.8745, allocations: 8 kB / 0.7265 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.8748, allocations: 4.875 kB / 0.7266 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/0.8752, allocations: 120.5 kB / 0.7267 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.8755, allocations: 0.6729 MB / 0.7273 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.823e-05/0.8755, allocations: 3.938 kB / 0.7273 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/0.8755, allocations: 15.5 kB / 0.7273 GB, free: 14.04 MB / 0.545 GB Notification: Performance of SimCode: time 1.9e-07/0.8755, allocations: 0 / 0.7273 GB, free: 14.04 MB / 0.545 GB Notification: Performance of Templates: time 0.003784/0.8793, allocations: 0.8253 MB / 0.7281 GB, free: 13.22 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)