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.001266/0.001266, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002015/0.002015, allocations: 283.2 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9459/0.9459, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 94.73 kB / 0.5952 GB, free: 27.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1491, allocations: 86.99 MB / 0.6802 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002205/0.1514, allocations: 1.284 MB / 0.6814 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4953/0.6467, allocations: 147.6 MB / 0.8256 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/0.6468, allocations: 0 / 0.8256 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.158e-05/0.6469, allocations: 0.5 kB / 0.8256 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.045e-05/0.6469, allocations: 5 kB / 0.8256 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004174/0.6473, allocations: 120.9 kB / 0.8257 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.686e-05/0.6474, allocations: 24.23 kB / 0.8257 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.6475, allocations: 3.234 kB / 0.8258 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.703e-05/0.6475, allocations: 7.156 kB / 0.8258 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.653e-05/0.6475, allocations: 5.844 kB / 0.8258 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.6476, allocations: 0.625 kB / 0.8258 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000452/0.648, allocations: 177.3 kB / 0.8259 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.648, allocations: 6.594 kB / 0.8259 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.6481, allocations: 11.88 kB / 0.826 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.6483, allocations: 106.9 kB / 0.8261 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6483, allocations: 1.219 kB / 0.8261 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6483, allocations: 0 / 0.8261 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.6484, allocations: 0 / 0.8261 GB, free: 1.648 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.0004131/0.6488, allocations: 345.9 kB / 0.8264 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.6488, allocations: 9.625 kB / 0.8264 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005955/0.6494, allocations: 47.94 kB / 0.8264 GB, free: 17.28 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.6496, allocations: 169 kB / 0.8266 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.6496, allocations: 3.938 kB / 0.8266 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.6496, allocations: 3 kB / 0.8266 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.6498, allocations: 51.12 kB / 0.8267 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.6498, allocations: 3.156 kB / 0.8267 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.6498, allocations: 0 / 0.8267 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.6498, allocations: 6.156 kB / 0.8267 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.65, allocations: 15.78 kB / 0.8267 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.6504, allocations: 250 kB / 0.8269 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.42e-05/0.6504, allocations: 25.95 kB / 0.8269 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/0.6504, allocations: 13.36 kB / 0.827 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.6505, allocations: 3.938 kB / 0.827 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.6505, allocations: 32.44 kB / 0.827 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.6505, allocations: 0 / 0.827 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001472/0.6506, allocations: 40.48 kB / 0.827 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.6507, allocations: 52.56 kB / 0.8271 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.6508, allocations: 111.8 kB / 0.8272 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.6508, allocations: 29.83 kB / 0.8272 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.27e-05/0.6509, allocations: 90.78 kB / 0.8273 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.943e-06/0.6509, allocations: 1.062 kB / 0.8273 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.6509, allocations: 26.27 kB / 0.8273 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.6511, allocations: 318.1 kB / 0.8276 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.347e-05/0.6511, allocations: 12.16 kB / 0.8276 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.89e-05/0.6512, allocations: 13.58 kB / 0.8277 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.184e-05/0.6513, allocations: 29.08 kB / 0.8277 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6513, allocations: 1.25 kB / 0.8277 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001866/0.6515, allocations: 59.31 kB / 0.8277 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.6515, allocations: 6.438 kB / 0.8277 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.6515, allocations: 1.25 kB / 0.8277 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.6515, allocations: 2.438 kB / 0.8277 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.6517, allocations: 14.91 kB / 0.8278 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.6517, allocations: 0 / 0.8278 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.6518, allocations: 8.141 kB / 0.8278 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.6518, allocations: 5.344 kB / 0.8278 GB, free: 15.98 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.834e-05/0.6519, allocations: 118.5 kB / 0.8279 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.6519, allocations: 5.062 kB / 0.8279 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.916e-05/0.652, allocations: 4.406 kB / 0.8279 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.652, allocations: 4 kB / 0.8279 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.652, allocations: 0 / 0.8279 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.652, allocations: 1.406 kB / 0.8279 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.6521, allocations: 156.5 kB / 0.8281 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6521, allocations: 0 / 0.8281 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.496e-05/0.6522, allocations: 5.406 kB / 0.8281 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.6522, allocations: 0 / 0.8281 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-06/0.6522, allocations: 1.094 kB / 0.8281 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6522, allocations: 0 / 0.8281 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6522, allocations: 0 / 0.8281 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.411e-05/0.6523, allocations: 143 kB / 0.8282 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.6523, allocations: 82.23 kB / 0.8283 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.6524, allocations: 4.969 kB / 0.8283 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.714e-05/0.6525, allocations: 5.375 kB / 0.8283 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.6525, allocations: 1.312 kB / 0.8283 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.6525, allocations: 0 / 0.8283 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.002e-05/0.6526, allocations: 94.8 kB / 0.8284 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6526, allocations: 5.156 kB / 0.8284 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000253/0.6529, allocations: 19.09 kB / 0.8284 GB, free: 15.33 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.0001525/0.653, allocations: 104.6 kB / 0.8285 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.6532, allocations: 20.33 kB / 0.8285 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6532, allocations: 0 / 0.8285 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.209e-05/0.6532, allocations: 5.688 kB / 0.8285 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.6535, allocations: 13.03 kB / 0.8285 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002511/0.6538, allocations: 129.6 kB / 0.8287 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.654, allocations: 0.6791 MB / 0.8293 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.196e-05/0.6541, allocations: 6.344 kB / 0.8293 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.6541, allocations: 9.594 kB / 0.8293 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.6541, allocations: 0 / 0.8293 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of Templates: time 0.002514/0.6567, allocations: 0.7411 MB / 0.8301 GB, free: 14.35 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)