Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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) 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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.349/1.349, allocations: 252 MB / 267.6 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 183.4 kB / 327.3 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.4 MB / 0.5783 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008512/0.0008512, allocations: 102.2 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003771, allocations: 9 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2881, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001546/0.2898, allocations: 1.005 MB / 0.9018 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1746/0.4644, allocations: 134.1 MB / 1.033 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.4645, allocations: 0 / 1.033 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.4645, allocations: 0 / 1.033 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 9.597e-05/0.4646, allocations: 11.92 kB / 1.033 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006276/0.4653, allocations: 95.61 kB / 1.033 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.397e-05/0.4654, allocations: 23.86 kB / 1.033 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 7.346e-05/0.4655, allocations: 0 / 1.033 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.657e-05/0.4655, allocations: 11.94 kB / 1.033 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.131e-05/0.4656, allocations: 4 kB / 1.033 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.4656, allocations: 0 / 1.033 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005691/0.4662, allocations: 175.6 kB / 1.033 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 9.838e-06/0.4662, allocations: 0 / 1.033 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 4.038e-05/0.4663, allocations: 29.7 kB / 1.033 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.4665, allocations: 84.12 kB / 1.033 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.4665, allocations: 3.938 kB / 1.033 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4666, allocations: 4 kB / 1.033 GB, free: 8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.4666, allocations: 0 / 1.033 GB, free: 8 MB / 0.6823 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.0004644/0.467, allocations: 339.4 kB / 1.034 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.4671, allocations: 8.031 kB / 1.034 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006576/0.4678, allocations: 39.91 kB / 1.034 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.468, allocations: 163.1 kB / 1.034 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.468, allocations: 4 kB / 1.034 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.468, allocations: 4 kB / 1.034 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.4682, allocations: 45.59 kB / 1.034 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.4683, allocations: 4 kB / 1.034 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.4683, allocations: 0 / 1.034 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.4683, allocations: 0 / 1.034 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.4685, allocations: 19.97 kB / 1.034 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.469, allocations: 256.8 kB / 1.034 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.607e-05/0.469, allocations: 26.52 kB / 1.034 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.039e-05/0.4691, allocations: 8.922 kB / 1.034 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.4691, allocations: 0 / 1.034 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.4691, allocations: 38.55 kB / 1.034 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.4691, allocations: 4 kB / 1.034 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002057/0.4694, allocations: 41.66 kB / 1.034 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.4694, allocations: 51.41 kB / 1.034 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.4696, allocations: 113.8 kB / 1.034 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.4696, allocations: 25.7 kB / 1.034 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.372e-05/0.4697, allocations: 88.06 kB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.116e-06/0.4697, allocations: 11.78 kB / 1.034 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/0.4697, allocations: 4.125 kB / 1.034 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4699, allocations: 314.8 kB / 1.035 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.91e-05/0.47, allocations: 15.92 kB / 1.035 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.774e-05/0.47, allocations: 11.98 kB / 1.035 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.512e-05/0.4701, allocations: 4 kB / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.142e-05/0.4701, allocations: 0 / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002057/0.4703, allocations: 65.66 kB / 1.035 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4704, allocations: 4 kB / 1.035 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4704, allocations: 0 / 1.035 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.4704, allocations: 0 / 1.035 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.4705, allocations: 11.98 kB / 1.035 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.4706, allocations: 3.953 kB / 1.035 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.4707, allocations: 11.91 kB / 1.035 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.4708, allocations: 11.98 kB / 1.035 GB, free: 6.066 MB / 0.6823 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.0001045/0.4709, allocations: 109.8 kB / 1.035 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.4709, allocations: 336 / 1.035 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.4709, allocations: 3.125 kB / 1.035 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.471, allocations: 7.984 kB / 1.035 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.471, allocations: 0 / 1.035 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.471, allocations: 3.953 kB / 1.035 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.4712, allocations: 153.7 kB / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.4712, allocations: 0 / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.808e-05/0.4712, allocations: 4 kB / 1.035 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.4712, allocations: 4 kB / 1.035 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.4712, allocations: 4 kB / 1.035 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.4712, allocations: 3.984 kB / 1.035 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4712, allocations: 0 / 1.035 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.4714, allocations: 131.5 kB / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.242e-05/0.4715, allocations: 89.09 kB / 1.035 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.4715, allocations: 0 / 1.035 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.4716, allocations: 4.031 kB / 1.035 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.4716, allocations: 7.938 kB / 1.035 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.4716, allocations: 0 / 1.035 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001098/0.4718, allocations: 95.25 kB / 1.035 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4718, allocations: 0 / 1.035 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002575/0.472, allocations: 12 kB / 1.035 GB, free: 5.352 MB / 0.6823 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.0002132/0.4723, allocations: 115.2 kB / 1.036 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001633/0.4724, allocations: 27.91 kB / 1.036 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4724, allocations: 0 / 1.036 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.355e-05/0.4725, allocations: 4 kB / 1.036 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.4728, allocations: 11.31 kB / 1.036 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.4732, allocations: 172.1 kB / 1.036 GB, free: 4.988 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.4734, allocations: 0.6731 MB / 1.036 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.4735, allocations: 11.42 kB / 1.036 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of SimCode: time 5.21e-07/0.4735, allocations: 0 / 1.036 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of Templates: time 0.002821/0.4763, allocations: 0.7924 MB / 1.037 GB, free: 3.484 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)