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.001093/0.001093, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001088/0.001089, allocations: 191.3 kB / 16.14 MB, free: 6.707 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.301/1.301, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003032/0.003032, allocations: 283.1 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.922/0.922, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 91.16 kB / 0.5945 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1755, allocations: 86.98 MB / 0.6794 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002251/0.1778, allocations: 1.352 MB / 0.6808 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.526/0.7039, allocations: 145.3 MB / 0.8227 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.944e-05/0.704, allocations: 0 / 0.8227 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.27e-05/0.704, allocations: 1.094 kB / 0.8227 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.242e-05/0.7041, allocations: 7.656 kB / 0.8227 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.7045, allocations: 99.22 kB / 0.8228 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.803e-05/0.7046, allocations: 20.91 kB / 0.8228 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.46e-05/0.7046, allocations: 4.484 kB / 0.8228 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.418e-05/0.7047, allocations: 7.875 kB / 0.8228 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.795e-05/0.7047, allocations: 10.53 kB / 0.8228 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.7047, allocations: 1.75 kB / 0.8228 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005004/0.7052, allocations: 177.8 kB / 0.823 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.7053, allocations: 5.812 kB / 0.823 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.059e-05/0.7053, allocations: 6.297 kB / 0.823 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.7056, allocations: 112.3 kB / 0.8231 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.7056, allocations: 0 / 0.8231 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7056, allocations: 0 / 0.8231 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.7056, allocations: 0 / 0.8231 GB, free: 1.137 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.0005074/0.7061, allocations: 354 kB / 0.8235 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.7062, allocations: 9.938 kB / 0.8235 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006293/0.7068, allocations: 34.72 kB / 0.8235 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.707, allocations: 171.7 kB / 0.8237 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.707, allocations: 4.844 kB / 0.8237 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.707, allocations: 9.234 kB / 0.8237 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.7072, allocations: 48.45 kB / 0.8237 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.7072, allocations: 0 / 0.8237 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.7073, allocations: 0.5625 kB / 0.8237 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.7073, allocations: 0.5 kB / 0.8237 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.7074, allocations: 21.09 kB / 0.8237 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.7078, allocations: 251 kB / 0.824 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.94e-05/0.7079, allocations: 29.62 kB / 0.824 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.479e-05/0.7079, allocations: 9.016 kB / 0.824 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.7079, allocations: 0 / 0.824 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.7079, allocations: 35.22 kB / 0.824 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.708, allocations: 0.625 kB / 0.824 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001716/0.7081, allocations: 44.97 kB / 0.8241 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.7082, allocations: 56.34 kB / 0.8241 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.7083, allocations: 112.2 kB / 0.8243 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.7083, allocations: 25.7 kB / 0.8243 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.7084, allocations: 91.34 kB / 0.8244 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.708e-06/0.7084, allocations: 4.156 kB / 0.8244 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.7085, allocations: 22.94 kB / 0.8244 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.7086, allocations: 323.6 kB / 0.8247 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.141e-05/0.7087, allocations: 7.859 kB / 0.8247 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.727e-05/0.7088, allocations: 11.84 kB / 0.8247 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.705e-05/0.7089, allocations: 20.69 kB / 0.8247 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7089, allocations: 0 / 0.8247 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002074/0.7091, allocations: 65.33 kB / 0.8248 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.7091, allocations: 5.125 kB / 0.8248 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.7091, allocations: 0.6875 kB / 0.8248 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.7092, allocations: 0.5312 kB / 0.8248 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.7093, allocations: 8.781 kB / 0.8248 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.7093, allocations: 4.438 kB / 0.8248 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.7095, allocations: 14.28 kB / 0.8248 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.7095, allocations: 5.312 kB / 0.8248 GB, free: 15.46 MB / 0.5762 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 9.57e-05/0.7096, allocations: 113.6 kB / 0.8249 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.7096, allocations: 1.594 kB / 0.8249 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.7096, allocations: 9.484 kB / 0.825 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.7096, allocations: 336 / 0.825 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7097, allocations: 0.625 kB / 0.825 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.7097, allocations: 1.438 kB / 0.825 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.7098, allocations: 155.2 kB / 0.8251 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.7098, allocations: 0 / 0.8251 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.964e-05/0.7099, allocations: 7.297 kB / 0.8251 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.7099, allocations: 5.562 kB / 0.8251 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.7099, allocations: 4.562 kB / 0.8251 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7099, allocations: 0 / 0.8251 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.7099, allocations: 0 / 0.8251 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.71, allocations: 139.8 kB / 0.8253 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/0.7101, allocations: 83.86 kB / 0.8253 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.7101, allocations: 0.7812 kB / 0.8253 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.992e-05/0.7102, allocations: 6.094 kB / 0.8253 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.7103, allocations: 3.578 kB / 0.8253 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.7103, allocations: 0.5312 kB / 0.8253 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001046/0.7104, allocations: 93.12 kB / 0.8254 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7104, allocations: 0 / 0.8254 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002557/0.7106, allocations: 16.47 kB / 0.8255 GB, free: 14.82 MB / 0.5762 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.0002103/0.7109, allocations: 115.8 kB / 0.8256 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001551/0.711, allocations: 16.86 kB / 0.8256 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.711, allocations: 7.875 kB / 0.8256 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.634e-05/0.7111, allocations: 7.031 kB / 0.8256 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.7114, allocations: 6.828 kB / 0.8256 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.7118, allocations: 131.3 kB / 0.8257 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.7121, allocations: 0.6749 MB / 0.8264 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.304e-05/0.7122, allocations: 6.719 kB / 0.8264 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.7122, allocations: 11.8 kB / 0.8264 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of SimCode: time 2.11e-07/0.7122, allocations: 0.5938 kB / 0.8264 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.003253/0.7155, allocations: 0.7302 MB / 0.8271 GB, free: 13.82 MB / 0.5762 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)