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.001694/0.001694, allocations: 108.8 kB / 16.41 MB, free: 6.461 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.001313/0.001313, allocations: 192 kB / 17.34 MB, free: 5.715 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002429/0.002429, allocations: 282 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.019/1.019, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002803/0.002803, allocations: 100.3 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.402, allocations: 86.97 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002202/0.4042, allocations: 1.291 MB / 0.7683 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1712/0.5755, allocations: 148.1 MB / 0.9129 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.5755, allocations: 3.938 kB / 0.9129 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 2.209e-05/0.5755, allocations: 3.984 kB / 0.9129 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 4.371e-05/0.5756, allocations: 3.938 kB / 0.9129 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.576, allocations: 115.4 kB / 0.913 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 6.473e-05/0.576, allocations: 19.92 kB / 0.913 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.5761, allocations: 4 kB / 0.913 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.306e-05/0.5761, allocations: 19.86 kB / 0.9131 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 3.313e-05/0.5761, allocations: 7.922 kB / 0.9131 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.5762, allocations: 4 kB / 0.9131 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003937/0.5765, allocations: 171.7 kB / 0.9132 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 8.246e-06/0.5766, allocations: 0 / 0.9132 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.5766, allocations: 11.94 kB / 0.9132 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.5768, allocations: 109.4 kB / 0.9133 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.5768, allocations: 0 / 0.9133 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5768, allocations: 0 / 0.9133 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.5768, allocations: 0 / 0.9133 GB, free: 13.54 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.0003828/0.5772, allocations: 363.1 kB / 0.9137 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.5772, allocations: 8.031 kB / 0.9137 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005444/0.5778, allocations: 32.89 kB / 0.9137 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.578, allocations: 172.3 kB / 0.9139 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.578, allocations: 7.938 kB / 0.9139 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.578, allocations: 7.938 kB / 0.9139 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.5782, allocations: 45.67 kB / 0.914 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.5782, allocations: 0 / 0.914 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.5782, allocations: 0 / 0.914 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.5782, allocations: 0 / 0.914 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.5783, allocations: 23.97 kB / 0.914 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.5787, allocations: 252.9 kB / 0.9142 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 6.168e-05/0.5788, allocations: 26.52 kB / 0.9142 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.5788, allocations: 12.91 kB / 0.9143 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.5788, allocations: 0 / 0.9143 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.5788, allocations: 30.56 kB / 0.9143 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.5788, allocations: 0 / 0.9143 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of matching and sorting (n=2): time 0.0001532/0.579, allocations: 45.7 kB / 0.9143 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.579, allocations: 51.41 kB / 0.9144 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.5792, allocations: 117.8 kB / 0.9145 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.5792, allocations: 29.64 kB / 0.9145 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.5793, allocations: 92.09 kB / 0.9146 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.602e-06/0.5793, allocations: 0 / 0.9146 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/0.5793, allocations: 21.66 kB / 0.9146 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5795, allocations: 322.9 kB / 0.9149 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-05/0.5795, allocations: 11.98 kB / 0.9149 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-05/0.5796, allocations: 7.984 kB / 0.915 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.953e-05/0.5797, allocations: 24.84 kB / 0.915 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.5797, allocations: 3.938 kB / 0.915 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001934/0.5799, allocations: 57.67 kB / 0.915 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.5799, allocations: 4 kB / 0.915 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.5799, allocations: 7.938 kB / 0.915 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.5799, allocations: 0 / 0.915 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.58, allocations: 11.92 kB / 0.9151 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.58, allocations: 0 / 0.9151 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.5802, allocations: 15.92 kB / 0.9151 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.5802, allocations: 0 / 0.9151 GB, free: 11.54 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 8.436e-05/0.5803, allocations: 116.2 kB / 0.9152 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.5803, allocations: 4 kB / 0.9152 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.799e-05/0.5803, allocations: 7.109 kB / 0.9152 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5803, allocations: 0 / 0.9152 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.5803, allocations: 0 / 0.9152 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5803, allocations: 3.938 kB / 0.9152 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.5805, allocations: 153.7 kB / 0.9153 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5805, allocations: 0 / 0.9153 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.547e-05/0.5805, allocations: 4 kB / 0.9154 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.5805, allocations: 0 / 0.9154 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.5805, allocations: 4 kB / 0.9154 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.5805, allocations: 0 / 0.9154 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5805, allocations: 0 / 0.9154 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.5806, allocations: 147.4 kB / 0.9155 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.5807, allocations: 77.11 kB / 0.9156 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.5807, allocations: 4 kB / 0.9156 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.5808, allocations: 4 kB / 0.9156 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.5808, allocations: 4.031 kB / 0.9156 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.5808, allocations: 7.922 kB / 0.9156 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000102/0.5809, allocations: 91.27 kB / 0.9157 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.5809, allocations: 0 / 0.9157 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002546/0.5812, allocations: 15.94 kB / 0.9157 GB, free: 10.82 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.0001765/0.5814, allocations: 111.2 kB / 0.9158 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001552/0.5815, allocations: 23.98 kB / 0.9158 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.5815, allocations: 0 / 0.9158 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.449e-05/0.5815, allocations: 7.938 kB / 0.9158 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.5819, allocations: 14.69 kB / 0.9158 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.5822, allocations: 123.1 kB / 0.916 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.5825, allocations: 0.6768 MB / 0.9166 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 6.227e-05/0.5825, allocations: 12.5 kB / 0.9166 GB, free: 9.797 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.5826, allocations: 11.42 kB / 0.9166 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of SimCode: time 3.01e-07/0.5826, allocations: 0 / 0.9166 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of Templates: time 0.003285/0.5859, allocations: 0.746 MB / 0.9174 GB, free: 9.051 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)