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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8095/0.8095, allocations: 143.4 MB / 159.2 MB, free: 4.891 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 183.1 kB / 191.9 MB, free: 5.719 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 447.3 MB, free: 5.824 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 103.7 kB / 0.517 GB, free: 3.695 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002318/0.002317, allocations: 283.8 kB / 0.5973 GB, free: 49.34 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 80.25 kB / 0.6885 GB, free: 3.812 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3362, allocations: 81.3 MB / 0.7679 GB, free: 27.63 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002016/0.3382, allocations: 1.35 MB / 0.7693 GB, free: 26.28 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.5803/0.9185, allocations: 145.3 MB / 0.9112 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.708e-05/0.9186, allocations: 0 / 0.9112 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.183e-05/0.9187, allocations: 0.5156 kB / 0.9112 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.326e-05/0.9187, allocations: 5.172 kB / 0.9112 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.9192, allocations: 103.4 kB / 0.9113 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.999e-05/0.9192, allocations: 18.23 kB / 0.9113 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.202e-05/0.9193, allocations: 5.234 kB / 0.9113 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.108e-05/0.9193, allocations: 9.297 kB / 0.9113 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.972e-05/0.9194, allocations: 6.594 kB / 0.9113 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.9194, allocations: 0.8125 kB / 0.9113 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004364/0.9198, allocations: 180.2 kB / 0.9115 GB, free: 0.7266 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.9199, allocations: 2.219 kB / 0.9115 GB, free: 0.7266 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.9199, allocations: 6.516 kB / 0.9115 GB, free: 0.7266 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.9202, allocations: 115.5 kB / 0.9116 GB, free: 0.7148 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.9202, allocations: 7.875 kB / 0.9116 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.132e-06/0.9202, allocations: 0.7812 kB / 0.9116 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.9202, allocations: 0 / 0.9116 GB, free: 0.7109 MB / 0.5573 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.0004067/0.9206, allocations: 346.7 kB / 0.9119 GB, free: 16.35 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.9207, allocations: 9.828 kB / 0.912 GB, free: 16.35 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005506/0.9212, allocations: 45.47 kB / 0.912 GB, free: 16.34 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.9213, allocations: 170.5 kB / 0.9122 GB, free: 16.14 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.9214, allocations: 4.844 kB / 0.9122 GB, free: 16.14 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.9214, allocations: 1.438 kB / 0.9122 GB, free: 16.14 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.9215, allocations: 47.78 kB / 0.9122 GB, free: 16.11 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.9216, allocations: 2 kB / 0.9122 GB, free: 16.11 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.9216, allocations: 0.5938 kB / 0.9122 GB, free: 16.11 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.9216, allocations: 0.875 kB / 0.9122 GB, free: 16.11 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.9217, allocations: 23.88 kB / 0.9122 GB, free: 16.1 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.9221, allocations: 251.1 kB / 0.9125 GB, free: 15.84 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.502e-05/0.9221, allocations: 25.06 kB / 0.9125 GB, free: 15.81 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.317e-05/0.9222, allocations: 12.97 kB / 0.9125 GB, free: 15.8 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.9222, allocations: 0.7188 kB / 0.9125 GB, free: 15.8 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.9222, allocations: 38.8 kB / 0.9126 GB, free: 15.76 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.9222, allocations: 0 / 0.9126 GB, free: 15.76 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.0001651/0.9224, allocations: 40.72 kB / 0.9126 GB, free: 15.73 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.9224, allocations: 53.83 kB / 0.9126 GB, free: 15.66 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.9226, allocations: 108.7 kB / 0.9127 GB, free: 15.57 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.9226, allocations: 27.25 kB / 0.9128 GB, free: 15.54 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.9226, allocations: 91.86 kB / 0.9129 GB, free: 15.45 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.06e-05/0.9227, allocations: 12.89 kB / 0.9129 GB, free: 15.44 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.9227, allocations: 19.16 kB / 0.9129 GB, free: 15.42 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.9228, allocations: 316 kB / 0.9132 GB, free: 15.11 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.185e-05/0.9229, allocations: 13.89 kB / 0.9132 GB, free: 15.11 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.08e-05/0.923, allocations: 9.188 kB / 0.9132 GB, free: 15.11 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.803e-05/0.9231, allocations: 25.47 kB / 0.9132 GB, free: 15.09 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9231, allocations: 1.094 kB / 0.9132 GB, free: 15.09 MB / 0.573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001981/0.9233, allocations: 61.23 kB / 0.9133 GB, free: 15.06 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.9233, allocations: 5.938 kB / 0.9133 GB, free: 15.06 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.9233, allocations: 0.875 kB / 0.9133 GB, free: 15.06 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.9233, allocations: 0 / 0.9133 GB, free: 15.06 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.9234, allocations: 10.14 kB / 0.9133 GB, free: 15.06 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.9234, allocations: 1.391 kB / 0.9133 GB, free: 15.06 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.9236, allocations: 11.41 kB / 0.9133 GB, free: 15.06 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.9236, allocations: 6.625 kB / 0.9133 GB, free: 15.05 MB / 0.573 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.802e-05/0.9237, allocations: 112.2 kB / 0.9134 GB, free: 14.94 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.9237, allocations: 2.656 kB / 0.9134 GB, free: 14.94 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.815e-05/0.9237, allocations: 5.016 kB / 0.9134 GB, free: 14.94 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.9237, allocations: 1.344 kB / 0.9135 GB, free: 14.94 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.9237, allocations: 0.5938 kB / 0.9135 GB, free: 14.94 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.9238, allocations: 0.6562 kB / 0.9135 GB, free: 14.94 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.9239, allocations: 164.7 kB / 0.9136 GB, free: 14.74 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9239, allocations: 3.938 kB / 0.9136 GB, free: 14.74 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.617e-05/0.9239, allocations: 7.234 kB / 0.9136 GB, free: 14.74 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.9239, allocations: 0.7969 kB / 0.9136 GB, free: 14.74 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.924, allocations: 0.8125 kB / 0.9136 GB, free: 14.74 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.924, allocations: 1.094 kB / 0.9136 GB, free: 14.74 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.924, allocations: 4.812 kB / 0.9136 GB, free: 14.73 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.9243, allocations: 0.6848 MB / 0.9143 GB, free: 14.03 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.9243, allocations: 78.59 kB / 0.9144 GB, free: 13.93 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.9243, allocations: 5.5 kB / 0.9144 GB, free: 13.93 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.444e-05/0.9244, allocations: 4.047 kB / 0.9144 GB, free: 13.93 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.077e-05/0.9245, allocations: 0.7812 kB / 0.9144 GB, free: 13.93 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.9245, allocations: 1.391 kB / 0.9144 GB, free: 13.93 MB / 0.573 GB Notification: Performance of sorting global known variables: time 9.128e-05/0.9246, allocations: 93.53 kB / 0.9145 GB, free: 13.85 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.223e-06/0.9246, allocations: 0.875 kB / 0.9145 GB, free: 13.85 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003482/0.9249, allocations: 13.58 kB / 0.9145 GB, free: 13.85 MB / 0.573 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.0001709/0.9251, allocations: 117.6 kB / 0.9146 GB, free: 13.76 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.9252, allocations: 20.02 kB / 0.9146 GB, free: 13.76 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9253, allocations: 0 / 0.9146 GB, free: 13.76 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.296e-05/0.9253, allocations: 8.812 kB / 0.9146 GB, free: 13.76 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.9256, allocations: 12.14 kB / 0.9146 GB, free: 13.76 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.9259, allocations: 229.1 kB / 0.9149 GB, free: 13.53 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.9262, allocations: 0.6754 MB / 0.9155 GB, free: 12.84 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 7.882e-05/0.9262, allocations: 11.59 kB / 0.9155 GB, free: 12.83 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.311e-05/0.9263, allocations: 14.39 kB / 0.9155 GB, free: 12.82 MB / 0.573 GB Notification: Performance of SimCode: time 2.31e-07/0.9263, allocations: 0 / 0.9155 GB, free: 12.82 MB / 0.573 GB Notification: Performance of Templates: time 0.002979/0.9293, allocations: 0.7274 MB / 0.9162 GB, free: 12.75 MB / 0.573 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)