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.001084/0.001084, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001104/0.001104, allocations: 195.4 kB / 16.25 MB, free: 6.617 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.3/1.3, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001994/0.001994, allocations: 278.8 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.933/0.933, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001625, allocations: 91.61 kB / 0.5947 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1677, allocations: 86.98 MB / 0.6796 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002565/0.1703, allocations: 1.35 MB / 0.6809 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4656/0.6359, allocations: 145.5 MB / 0.823 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.636, allocations: 4 kB / 0.823 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.6361, allocations: 2.297 kB / 0.823 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.63e-05/0.6361, allocations: 7.219 kB / 0.823 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.6365, allocations: 104.1 kB / 0.8231 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.345e-05/0.6366, allocations: 23.7 kB / 0.8231 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.6366, allocations: 1.719 kB / 0.8231 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.166e-05/0.6367, allocations: 3.406 kB / 0.8231 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.235e-05/0.6367, allocations: 13.53 kB / 0.8232 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.6367, allocations: 4.656 kB / 0.8232 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003996/0.6371, allocations: 183.2 kB / 0.8233 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.508e-06/0.6372, allocations: 0.8438 kB / 0.8233 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.6372, allocations: 3.625 kB / 0.8233 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.6374, allocations: 115.8 kB / 0.8234 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6374, allocations: 0.5312 kB / 0.8234 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6374, allocations: 2.016 kB / 0.8234 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.6375, allocations: 0.6875 kB / 0.8234 GB, free: 0.7578 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.0003375/0.6378, allocations: 350.2 kB / 0.8238 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.6378, allocations: 13.34 kB / 0.8238 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005739/0.6384, allocations: 36.34 kB / 0.8238 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.6385, allocations: 165.6 kB / 0.824 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.6386, allocations: 9.062 kB / 0.824 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.6386, allocations: 4.781 kB / 0.824 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.6387, allocations: 49.58 kB / 0.824 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.6388, allocations: 0.5938 kB / 0.824 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.6388, allocations: 0 / 0.824 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.6388, allocations: 0.5 kB / 0.824 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.6389, allocations: 19.14 kB / 0.8241 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.6393, allocations: 248.9 kB / 0.8243 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.89e-05/0.6393, allocations: 31.36 kB / 0.8243 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.285e-05/0.6394, allocations: 14.78 kB / 0.8243 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-06/0.6394, allocations: 0.625 kB / 0.8243 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.6394, allocations: 31.62 kB / 0.8244 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.6394, allocations: 0 / 0.8244 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001472/0.6396, allocations: 38.67 kB / 0.8244 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.6396, allocations: 55.05 kB / 0.8245 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.6397, allocations: 121 kB / 0.8246 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.6398, allocations: 25.7 kB / 0.8246 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.6398, allocations: 92.42 kB / 0.8247 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.903e-06/0.6398, allocations: 1.094 kB / 0.8247 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.6399, allocations: 22.14 kB / 0.8247 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.784e-05/0.64, allocations: 322.2 kB / 0.825 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.814e-05/0.6401, allocations: 12.19 kB / 0.825 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.864e-05/0.6401, allocations: 9.016 kB / 0.825 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.385e-05/0.6402, allocations: 28.36 kB / 0.8251 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6402, allocations: 0 / 0.8251 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001919/0.6404, allocations: 56.78 kB / 0.8251 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.6404, allocations: 7.688 kB / 0.8251 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.6404, allocations: 4.5 kB / 0.8251 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.6405, allocations: 4.594 kB / 0.8251 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.6406, allocations: 13.19 kB / 0.8252 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.6406, allocations: 3.938 kB / 0.8252 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.6408, allocations: 8.391 kB / 0.8252 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.6408, allocations: 5.75 kB / 0.8252 GB, free: 15.08 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 6.99e-05/0.6408, allocations: 109.9 kB / 0.8253 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.6409, allocations: 5.594 kB / 0.8253 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.897e-05/0.6409, allocations: 7.375 kB / 0.8253 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.6409, allocations: 0.5938 kB / 0.8253 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6409, allocations: 0.5 kB / 0.8253 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.6409, allocations: 3.219 kB / 0.8253 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.6411, allocations: 157.2 kB / 0.8254 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6411, allocations: 0.6875 kB / 0.8254 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.618e-05/0.6411, allocations: 3.062 kB / 0.8254 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.6411, allocations: 0 / 0.8254 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.6411, allocations: 0.5 kB / 0.8254 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.6411, allocations: 6.609 kB / 0.8255 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6411, allocations: 0.5 kB / 0.8255 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.6412, allocations: 139.4 kB / 0.8256 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.6413, allocations: 82.36 kB / 0.8257 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.6413, allocations: 4.188 kB / 0.8257 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.6414, allocations: 4.578 kB / 0.8257 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.118e-05/0.6415, allocations: 1 kB / 0.8257 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.6415, allocations: 5.156 kB / 0.8257 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.241e-05/0.6416, allocations: 94.58 kB / 0.8258 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6416, allocations: 0.5938 kB / 0.8258 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002551/0.6418, allocations: 15.62 kB / 0.8258 GB, free: 14.45 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.0001728/0.642, allocations: 110.1 kB / 0.8259 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.6422, allocations: 23.83 kB / 0.8259 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6422, allocations: 0.6875 kB / 0.8259 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.538e-05/0.6422, allocations: 9.953 kB / 0.8259 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.6425, allocations: 4.656 kB / 0.8259 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.6428, allocations: 125.4 kB / 0.826 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.643, allocations: 0.6833 MB / 0.8267 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.009e-05/0.6431, allocations: 13.86 kB / 0.8267 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.6431, allocations: 9.156 kB / 0.8267 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.6431, allocations: 4.906 kB / 0.8267 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of Templates: time 0.002765/0.6459, allocations: 0.7361 MB / 0.8275 GB, free: 13.45 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)