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.001091/0.001091, allocations: 108.4 kB / 16.41 MB, free: 6.453 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.001048/0.001048, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.249/1.249, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002008/0.002008, allocations: 286.8 kB / 291.5 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.8778/0.8778, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 95.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.4403, allocations: 86.99 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002286/0.4426, allocations: 1.279 MB / 0.7683 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1553/0.5979, allocations: 147.6 MB / 0.9125 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.598, allocations: 0 / 0.9125 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.5981, allocations: 0 / 0.9125 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 5.768e-05/0.5981, allocations: 7.938 kB / 0.9125 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005526/0.5987, allocations: 115.4 kB / 0.9126 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 6.982e-05/0.5988, allocations: 15.88 kB / 0.9126 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 5.288e-05/0.5988, allocations: 11.98 kB / 0.9126 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.842e-05/0.5989, allocations: 4 kB / 0.9126 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 4.314e-05/0.5989, allocations: 15.92 kB / 0.9127 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.5989, allocations: 0 / 0.9127 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000434/0.5994, allocations: 171.7 kB / 0.9128 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.5994, allocations: 4 kB / 0.9128 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.5994, allocations: 11.88 kB / 0.9128 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.5997, allocations: 106.1 kB / 0.9129 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.5997, allocations: 0 / 0.9129 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5997, allocations: 3.938 kB / 0.9129 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.5997, allocations: 0 / 0.9129 GB, free: 13.98 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.0003897/0.6001, allocations: 359.4 kB / 0.9133 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.6002, allocations: 8.031 kB / 0.9133 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005721/0.6008, allocations: 36.89 kB / 0.9133 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.6009, allocations: 168.3 kB / 0.9135 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.6009, allocations: 3.938 kB / 0.9135 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.601, allocations: 8 kB / 0.9135 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.6011, allocations: 45.66 kB / 0.9135 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.6012, allocations: 4 kB / 0.9135 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.6012, allocations: 0 / 0.9135 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.6012, allocations: 0 / 0.9135 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.6013, allocations: 19.97 kB / 0.9136 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.6017, allocations: 256.8 kB / 0.9138 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 5.501e-05/0.6018, allocations: 30.52 kB / 0.9138 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.6018, allocations: 8.922 kB / 0.9138 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/0.6018, allocations: 0 / 0.9138 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.6018, allocations: 38.56 kB / 0.9139 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.6019, allocations: 0 / 0.9139 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of matching and sorting (n=2): time 0.0001595/0.602, allocations: 45.59 kB / 0.9139 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.6021, allocations: 59.47 kB / 0.914 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.6022, allocations: 109.8 kB / 0.9141 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.6022, allocations: 25.7 kB / 0.9141 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/0.6023, allocations: 84.14 kB / 0.9142 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 8.837e-06/0.6023, allocations: 3.906 kB / 0.9142 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.6023, allocations: 21.69 kB / 0.9142 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.6025, allocations: 322.8 kB / 0.9145 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.293e-05/0.6025, allocations: 11.98 kB / 0.9145 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-05/0.6026, allocations: 11.94 kB / 0.9145 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.327e-05/0.6027, allocations: 20.84 kB / 0.9146 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6027, allocations: 0 / 0.9146 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000183/0.6029, allocations: 65.59 kB / 0.9146 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.6029, allocations: 8 kB / 0.9146 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6029, allocations: 0 / 0.9146 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.6029, allocations: 0 / 0.9146 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.603, allocations: 11.98 kB / 0.9146 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.6031, allocations: 0 / 0.9146 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.6032, allocations: 7.938 kB / 0.9147 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.6032, allocations: 11.92 kB / 0.9147 GB, free: 11.98 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 0.0001411/0.6034, allocations: 116.2 kB / 0.9148 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.6034, allocations: 3.906 kB / 0.9148 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.795e-05/0.6034, allocations: 3.125 kB / 0.9148 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.6034, allocations: 4 kB / 0.9148 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.6034, allocations: 0 / 0.9148 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.6034, allocations: 3.938 kB / 0.9148 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.6036, allocations: 153.7 kB / 0.9149 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.6036, allocations: 0 / 0.9149 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.113e-05/0.6037, allocations: 0 / 0.9149 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.6037, allocations: 4 kB / 0.9149 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.6037, allocations: 4 kB / 0.9149 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.6037, allocations: 0 / 0.9149 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.6037, allocations: 3.984 kB / 0.9149 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.6038, allocations: 135.4 kB / 0.9151 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-05/0.6039, allocations: 81.11 kB / 0.9152 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.6039, allocations: 3.984 kB / 0.9152 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-05/0.604, allocations: 0 / 0.9152 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.604, allocations: 8.359 kB / 0.9152 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.604, allocations: 3.938 kB / 0.9152 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 8.757e-05/0.6041, allocations: 95.25 kB / 0.9153 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6041, allocations: 0 / 0.9153 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002326/0.6044, allocations: 12 kB / 0.9153 GB, free: 11.27 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.0001701/0.6045, allocations: 115.2 kB / 0.9154 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.6047, allocations: 23.98 kB / 0.9154 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6047, allocations: 7.875 kB / 0.9154 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.134e-05/0.6047, allocations: 4 kB / 0.9154 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.605, allocations: 18.73 kB / 0.9154 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.6054, allocations: 136.8 kB / 0.9156 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.6056, allocations: 0.6768 MB / 0.9162 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.6057, allocations: 15.5 kB / 0.9162 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of SimCode: time 2.01e-07/0.6057, allocations: 0 / 0.9162 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of Templates: time 0.002333/0.608, allocations: 0.8117 MB / 0.917 GB, free: 9.406 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)