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.001113/0.001113, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001293/0.001293, allocations: 177.3 kB / 15.95 MB, free: 216 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.234/1.234, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001676/0.001676, allocations: 262.8 kB / 291.2 MB, free: 1.992 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7604/0.7604, allocations: 144.6 MB / 487 MB, free: 7.152 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003747, allocations: 11.88 kB / 0.5683 GB, free: 38.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1341, allocations: 83.08 MB / 0.6494 GB, free: 3.555 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001219/0.1353, allocations: 0.9968 MB / 0.6504 GB, free: 2.547 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1264/0.2618, allocations: 124.8 MB / 0.7723 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.2618, allocations: 0 / 0.7723 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.317e-05/0.2619, allocations: 0 / 0.7723 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.728e-05/0.2619, allocations: 7.984 kB / 0.7723 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.2623, allocations: 99.64 kB / 0.7724 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.521e-05/0.2623, allocations: 19.97 kB / 0.7724 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.2624, allocations: 11.98 kB / 0.7724 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.181e-05/0.2624, allocations: 7.938 kB / 0.7724 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.463e-05/0.2625, allocations: 0 / 0.7724 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.2625, allocations: 4 kB / 0.7724 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003586/0.2628, allocations: 183.7 kB / 0.7726 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.033e-06/0.2629, allocations: 3.938 kB / 0.7726 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.2629, allocations: 33.69 kB / 0.7727 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.263, allocations: 84.14 kB / 0.7727 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.263, allocations: 0 / 0.7727 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.582e-06/0.263, allocations: 0 / 0.7727 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.2631, allocations: 4 kB / 0.7727 GB, free: 4.988 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.0002688/0.2633, allocations: 347.2 kB / 0.7731 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.2634, allocations: 8.031 kB / 0.7731 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004951/0.2639, allocations: 35.95 kB / 0.7731 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.999e-05/0.264, allocations: 163 kB / 0.7733 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.264, allocations: 8 kB / 0.7733 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.264, allocations: 0 / 0.7733 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.2642, allocations: 45.66 kB / 0.7733 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2642, allocations: 4 kB / 0.7733 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.2642, allocations: 0 / 0.7733 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.2642, allocations: 4 kB / 0.7733 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.2643, allocations: 19.92 kB / 0.7733 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.2646, allocations: 256.9 kB / 0.7736 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.439e-05/0.2647, allocations: 22.58 kB / 0.7736 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-06/0.2647, allocations: 0 / 0.7736 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.2647, allocations: 30.56 kB / 0.7736 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.2647, allocations: 0 / 0.7736 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001225/0.2649, allocations: 49.81 kB / 0.7737 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.2649, allocations: 55.41 kB / 0.7737 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.265, allocations: 109.8 kB / 0.7738 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.265, allocations: 29.7 kB / 0.7739 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.2651, allocations: 84.05 kB / 0.774 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.785e-06/0.2651, allocations: 7.906 kB / 0.774 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.2651, allocations: 0 / 0.774 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.052e-05/0.2652, allocations: 318.8 kB / 0.7743 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.591e-05/0.2653, allocations: 12 kB / 0.7743 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.914e-05/0.2653, allocations: 7.984 kB / 0.7743 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.635e-05/0.2654, allocations: 15.98 kB / 0.7743 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2654, allocations: 0 / 0.7743 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000169/0.2656, allocations: 57.61 kB / 0.7744 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.2656, allocations: 15.94 kB / 0.7744 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.2656, allocations: 0 / 0.7744 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.2656, allocations: 336 / 0.7744 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.274e-05/0.2657, allocations: 15.92 kB / 0.7744 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.2657, allocations: 0 / 0.7744 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.2659, allocations: 7.984 kB / 0.7744 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-06/0.2659, allocations: 0 / 0.7744 GB, free: 3.078 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 6.652e-05/0.266, allocations: 117.8 kB / 0.7745 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.266, allocations: 0 / 0.7745 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.266, allocations: 15.09 kB / 0.7745 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.266, allocations: 0 / 0.7745 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.266, allocations: 0 / 0.7745 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.266, allocations: 4 kB / 0.7745 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.2662, allocations: 153.6 kB / 0.7747 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.2662, allocations: 4 kB / 0.7747 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/0.2662, allocations: 0 / 0.7747 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.2662, allocations: 0 / 0.7747 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.2662, allocations: 0 / 0.7747 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2662, allocations: 11.94 kB / 0.7747 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2662, allocations: 0 / 0.7747 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.966e-05/0.2663, allocations: 139.4 kB / 0.7748 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.2664, allocations: 81.09 kB / 0.7749 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.2664, allocations: 4 kB / 0.7749 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.004e-05/0.2665, allocations: 0 / 0.7749 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.2665, allocations: 0 / 0.7749 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.2665, allocations: 8.031 kB / 0.7749 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.843e-05/0.2666, allocations: 91.27 kB / 0.775 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2666, allocations: 0 / 0.775 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000221/0.2668, allocations: 16 kB / 0.775 GB, free: 2.355 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.0001318/0.267, allocations: 107.2 kB / 0.7751 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.2671, allocations: 27.92 kB / 0.7751 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2671, allocations: 0 / 0.7751 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.106e-05/0.2671, allocations: 4 kB / 0.7751 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.2673, allocations: 21.75 kB / 0.7752 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002286/0.2676, allocations: 126.5 kB / 0.7753 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.2678, allocations: 0.677 MB / 0.7759 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.047e-05/0.2679, allocations: 12 kB / 0.776 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.2679, allocations: 11.44 kB / 0.776 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.2679, allocations: 0 / 0.776 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of Templates: time 0.002564/0.2705, allocations: 0.7087 MB / 0.7767 GB, free: 0.6094 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: