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.006733/0.006733, allocations: 112 kB / 15.71 MB, free: 6.438 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.001588/0.001588, allocations: 191.7 kB / 16.65 MB, free: 6.363 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.347/1.347, allocations: 222.9 MB / 240.3 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002075/0.002075, allocations: 290 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9367/0.9367, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 99.84 kB / 0.6814 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1504, allocations: 86.97 MB / 0.7663 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001981/0.1524, allocations: 1.299 MB / 0.7676 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4852/0.6376, allocations: 147.6 MB / 0.9118 GB, free: 13.89 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.6376, allocations: 0 / 0.9118 GB, free: 13.89 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 1.733e-05/0.6377, allocations: 3.938 kB / 0.9118 GB, free: 13.88 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 4.671e-05/0.6377, allocations: 3.938 kB / 0.9118 GB, free: 13.88 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.6382, allocations: 118.6 kB / 0.9119 GB, free: 13.77 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 6.176e-05/0.6383, allocations: 15.88 kB / 0.9119 GB, free: 13.75 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.6383, allocations: 4 kB / 0.9119 GB, free: 13.75 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 3.839e-05/0.6384, allocations: 15.91 kB / 0.9119 GB, free: 13.73 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 3.19e-05/0.6384, allocations: 8 kB / 0.9119 GB, free: 13.72 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 8.617e-06/0.6384, allocations: 0 / 0.9119 GB, free: 13.72 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.6388, allocations: 168.3 kB / 0.9121 GB, free: 13.56 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.6388, allocations: 7.938 kB / 0.9121 GB, free: 13.55 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.6388, allocations: 8 kB / 0.9121 GB, free: 13.55 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.6391, allocations: 118.2 kB / 0.9122 GB, free: 13.44 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6391, allocations: 4 kB / 0.9122 GB, free: 13.43 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6391, allocations: 1.781 kB / 0.9122 GB, free: 13.43 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.6391, allocations: 0 / 0.9122 GB, free: 13.43 MB / 0.67 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.0003332/0.6394, allocations: 352 kB / 0.9126 GB, free: 13.04 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.6395, allocations: 8.031 kB / 0.9126 GB, free: 13.04 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005294/0.64, allocations: 36.89 kB / 0.9126 GB, free: 13 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.6401, allocations: 168.6 kB / 0.9128 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.6402, allocations: 3.938 kB / 0.9128 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.6402, allocations: 0 / 0.9128 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.6403, allocations: 53.59 kB / 0.9128 GB, free: 12.73 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.6404, allocations: 0 / 0.9128 GB, free: 12.73 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.6404, allocations: 0 / 0.9128 GB, free: 12.73 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.6404, allocations: 4 kB / 0.9128 GB, free: 12.73 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.6405, allocations: 19.92 kB / 0.9129 GB, free: 12.71 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.6408, allocations: 252.9 kB / 0.9131 GB, free: 12.41 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 5.772e-05/0.6409, allocations: 22.56 kB / 0.9131 GB, free: 12.38 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.449e-05/0.6409, allocations: 12.92 kB / 0.9131 GB, free: 12.37 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.6409, allocations: 0 / 0.9131 GB, free: 12.37 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.641, allocations: 34.56 kB / 0.9132 GB, free: 12.32 MB / 0.67 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.641, allocations: 0 / 0.9132 GB, free: 12.32 MB / 0.67 GB Notification: Performance of matching and sorting (n=2): time 0.0001414/0.6411, allocations: 54.75 kB / 0.9132 GB, free: 12.27 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.6412, allocations: 51.41 kB / 0.9133 GB, free: 12.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.6413, allocations: 117.8 kB / 0.9134 GB, free: 12.08 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.6413, allocations: 25.7 kB / 0.9134 GB, free: 12.05 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.6414, allocations: 80.14 kB / 0.9135 GB, free: 11.96 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.385e-06/0.6414, allocations: 12.03 kB / 0.9135 GB, free: 11.95 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.6414, allocations: 17.7 kB / 0.9135 GB, free: 11.93 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.509e-05/0.6415, allocations: 318.8 kB / 0.9138 GB, free: 11.61 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.339e-05/0.6416, allocations: 12 kB / 0.9138 GB, free: 11.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.575e-05/0.6417, allocations: 7.984 kB / 0.9138 GB, free: 11.59 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.618e-05/0.6418, allocations: 28.78 kB / 0.9139 GB, free: 11.56 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6418, allocations: 4 kB / 0.9139 GB, free: 11.55 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001803/0.642, allocations: 53.67 kB / 0.9139 GB, free: 11.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.642, allocations: 9.031 kB / 0.9139 GB, free: 11.49 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.642, allocations: 0 / 0.9139 GB, free: 11.49 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.642, allocations: 3.984 kB / 0.9139 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.981e-05/0.6421, allocations: 8 kB / 0.9139 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.6421, allocations: 0 / 0.9139 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.6423, allocations: 11.98 kB / 0.9139 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.6423, allocations: 3.938 kB / 0.9139 GB, free: 11.46 MB / 0.67 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 7.526e-05/0.6424, allocations: 114.5 kB / 0.9141 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.6424, allocations: 3.906 kB / 0.9141 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.774e-05/0.6424, allocations: 7.125 kB / 0.9141 GB, free: 11.33 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.6424, allocations: 0 / 0.9141 GB, free: 11.33 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6424, allocations: 3.938 kB / 0.9141 GB, free: 11.33 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.6424, allocations: 8.688 kB / 0.9141 GB, free: 11.32 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.6426, allocations: 157.6 kB / 0.9142 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6426, allocations: 4 kB / 0.9142 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.431e-05/0.6426, allocations: 3.938 kB / 0.9142 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6426, allocations: 0 / 0.9142 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.6427, allocations: 4.688 kB / 0.9142 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6427, allocations: 0 / 0.9142 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6427, allocations: 0 / 0.9142 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.6428, allocations: 135.5 kB / 0.9144 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.6428, allocations: 81.14 kB / 0.9144 GB, free: 10.86 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.6428, allocations: 5.562 kB / 0.9144 GB, free: 10.86 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-05/0.6429, allocations: 3.984 kB / 0.9145 GB, free: 10.85 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.643, allocations: 0 / 0.9145 GB, free: 10.85 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.643, allocations: 4 kB / 0.9145 GB, free: 10.85 MB / 0.67 GB Notification: Performance of sorting global known variables: time 8.682e-05/0.6431, allocations: 95.2 kB / 0.9145 GB, free: 10.75 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6431, allocations: 0 / 0.9145 GB, free: 10.75 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002417/0.6433, allocations: 12 kB / 0.9146 GB, free: 10.74 MB / 0.67 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.000157/0.6435, allocations: 115.2 kB / 0.9147 GB, free: 10.62 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.6436, allocations: 23.92 kB / 0.9147 GB, free: 10.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6436, allocations: 0 / 0.9147 GB, free: 10.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 1.086e-05/0.6436, allocations: 4 kB / 0.9147 GB, free: 10.59 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.6439, allocations: 11.92 kB / 0.9147 GB, free: 10.58 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.6442, allocations: 125 kB / 0.9148 GB, free: 10.43 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.6445, allocations: 0.6768 MB / 0.9155 GB, free: 9.73 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 6.086e-05/0.6446, allocations: 12.5 kB / 0.9155 GB, free: 9.719 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.6446, allocations: 11.44 kB / 0.9155 GB, free: 9.707 MB / 0.67 GB Notification: Performance of SimCode: time 2.1e-07/0.6446, allocations: 0 / 0.9155 GB, free: 9.707 MB / 0.67 GB Notification: Performance of Templates: time 0.002984/0.6476, allocations: 0.7383 MB / 0.9162 GB, free: 8.98 MB / 0.67 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)