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.005275/0.005275, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001165/0.001165, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002205/0.002205, allocations: 294.7 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9415/0.9415, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 99.86 kB / 0.6815 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.423, allocations: 86.97 MB / 0.7664 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002096/0.4252, allocations: 1.291 MB / 0.7676 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.15/0.5752, allocations: 147.6 MB / 0.9118 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.5753, allocations: 3.938 kB / 0.9118 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.5753, allocations: 3.938 kB / 0.9118 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 4.584e-05/0.5754, allocations: 3.938 kB / 0.9118 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.5759, allocations: 115.5 kB / 0.9119 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 7.154e-05/0.5759, allocations: 19.88 kB / 0.912 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/0.576, allocations: 7.984 kB / 0.912 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.623e-05/0.576, allocations: 4 kB / 0.912 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 4.081e-05/0.5761, allocations: 11.92 kB / 0.912 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.5761, allocations: 0 / 0.912 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004523/0.5766, allocations: 175.7 kB / 0.9122 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.5766, allocations: 0 / 0.9122 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.5766, allocations: 7.938 kB / 0.9122 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.5769, allocations: 122 kB / 0.9123 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.5769, allocations: 0 / 0.9123 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5769, allocations: 0 / 0.9123 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.49e-05/0.5769, allocations: 0 / 0.9123 GB, free: 13.96 MB / 0.6856 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.000388/0.5773, allocations: 359.4 kB / 0.9126 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.5774, allocations: 8.031 kB / 0.9126 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005825/0.578, allocations: 32.89 kB / 0.9127 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.5781, allocations: 176.3 kB / 0.9128 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.5781, allocations: 3.938 kB / 0.9128 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.5782, allocations: 4 kB / 0.9128 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.5783, allocations: 45.67 kB / 0.9129 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.5784, allocations: 0 / 0.9129 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.5784, allocations: 0 / 0.9129 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.5784, allocations: 3.984 kB / 0.9129 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.5785, allocations: 19.92 kB / 0.9129 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.5789, allocations: 256.8 kB / 0.9131 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 6.365e-05/0.579, allocations: 26.56 kB / 0.9132 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.674e-05/0.579, allocations: 12.92 kB / 0.9132 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.579, allocations: 0 / 0.9132 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.5791, allocations: 30.56 kB / 0.9132 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5791, allocations: 0 / 0.9132 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of matching and sorting (n=2): time 0.0001586/0.5792, allocations: 53.55 kB / 0.9133 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.5793, allocations: 51.41 kB / 0.9133 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.5794, allocations: 109.8 kB / 0.9134 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.5795, allocations: 25.7 kB / 0.9134 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.5795, allocations: 84.14 kB / 0.9135 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.934e-06/0.5795, allocations: 3.906 kB / 0.9135 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.5796, allocations: 21.7 kB / 0.9135 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5797, allocations: 318.9 kB / 0.9139 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.464e-05/0.5798, allocations: 11.98 kB / 0.9139 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.674e-05/0.5798, allocations: 11.98 kB / 0.9139 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.937e-05/0.5799, allocations: 28.78 kB / 0.9139 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5799, allocations: 3.938 kB / 0.9139 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001809/0.5801, allocations: 53.67 kB / 0.914 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.5802, allocations: 8 kB / 0.914 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.5802, allocations: 0 / 0.914 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.5802, allocations: 0 / 0.914 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.5803, allocations: 15.98 kB / 0.914 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.5803, allocations: 0 / 0.914 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.5804, allocations: 15.92 kB / 0.914 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.5805, allocations: 0 / 0.914 GB, free: 11.97 MB / 0.6856 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.26e-05/0.5805, allocations: 112.2 kB / 0.9141 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.5806, allocations: 8.234 kB / 0.9141 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.959e-05/0.5806, allocations: 11.11 kB / 0.9141 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5806, allocations: 3.984 kB / 0.9141 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5806, allocations: 0 / 0.9141 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.5806, allocations: 3.938 kB / 0.9141 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.5808, allocations: 149.7 kB / 0.9143 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5808, allocations: 3.938 kB / 0.9143 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-05/0.5808, allocations: 7.938 kB / 0.9143 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.5808, allocations: 4 kB / 0.9143 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.5808, allocations: 0 / 0.9143 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5808, allocations: 0 / 0.9143 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5808, allocations: 0 / 0.9143 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.614e-05/0.5809, allocations: 139.5 kB / 0.9144 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.581, allocations: 81.11 kB / 0.9145 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.581, allocations: 0 / 0.9145 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.901e-05/0.5811, allocations: 8.031 kB / 0.9145 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.5811, allocations: 3.984 kB / 0.9145 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.5812, allocations: 3.938 kB / 0.9145 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 9.216e-05/0.5813, allocations: 91.27 kB / 0.9146 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5813, allocations: 0 / 0.9146 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000237/0.5815, allocations: 12 kB / 0.9146 GB, free: 11.25 MB / 0.6856 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.0001616/0.5817, allocations: 119.1 kB / 0.9147 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.5818, allocations: 23.98 kB / 0.9147 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5818, allocations: 0 / 0.9147 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.065e-05/0.5818, allocations: 4 kB / 0.9147 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.5822, allocations: 16.48 kB / 0.9148 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.5824, allocations: 119 kB / 0.9149 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.5827, allocations: 0.6768 MB / 0.9155 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 6.192e-05/0.5828, allocations: 7.984 kB / 0.9155 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.5828, allocations: 11.44 kB / 0.9156 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of SimCode: time 2.6e-07/0.5828, allocations: 3.938 kB / 0.9156 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of Templates: time 0.003031/0.5858, allocations: 0.7349 MB / 0.9163 GB, free: 9.488 MB / 0.6856 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)