Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8687/0.8687, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 181.9 kB / 187.3 MB, free: 11.88 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.439/1.439, allocations: 221.3 MB / 441.4 MB, free: 4.652 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.0009417/0.0009415, allocations: 91.17 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001803/0.001803, allocations: 272.8 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.86e-05/3.862e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4391, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1149/0.554, allocations: 110.3 MB / 0.872 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.5543, allocations: 84.45 kB / 0.872 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.007943/0.5623, allocations: 2.7 MB / 0.8747 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5623, allocations: 0 / 0.8747 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.5623, allocations: 0 / 0.8747 GB, free: 11.5 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003391/0.5626, allocations: 366.3 kB / 0.875 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.5627, allocations: 8.031 kB / 0.875 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.5627, allocations: 4 kB / 0.875 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.5629, allocations: 167 kB / 0.8752 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.017e-05/0.5629, allocations: 33.69 kB / 0.8752 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.563, allocations: 4 kB / 0.8752 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.914e-05/0.5631, allocations: 41.7 kB / 0.8753 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.5631, allocations: 0 / 0.8753 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.5631, allocations: 0 / 0.8753 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.5631, allocations: 3.984 kB / 0.8753 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.978e-05/0.5631, allocations: 11.94 kB / 0.8753 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.5633, allocations: 165.7 kB / 0.8754 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.5635, allocations: 38.58 kB / 0.8755 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.5635, allocations: 16.86 kB / 0.8755 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002271/0.5637, allocations: 182.3 kB / 0.8757 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.5638, allocations: 34.56 kB / 0.8757 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.5638, allocations: 3.938 kB / 0.8757 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.000118/0.5639, allocations: 53.53 kB / 0.8758 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.564, allocations: 55.41 kB / 0.8758 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.905e-05/0.564, allocations: 96.98 kB / 0.8759 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.564, allocations: 25.7 kB / 0.8759 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.6e-05/0.5641, allocations: 80.14 kB / 0.876 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.5641, allocations: 15.75 kB / 0.876 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.5641, allocations: 0 / 0.876 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.5642, allocations: 314.8 kB / 0.8763 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.755e-05/0.5642, allocations: 8 kB / 0.8763 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.245e-05/0.5643, allocations: 4 kB / 0.8763 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.384e-05/0.5643, allocations: 15.98 kB / 0.8763 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.5643, allocations: 0 / 0.8763 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.038e-05/0.5644, allocations: 53.97 kB / 0.8764 GB, free: 9.484 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.5644, allocations: 7.984 kB / 0.8764 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.5644, allocations: 4 kB / 0.8764 GB, free: 9.473 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.5644, allocations: 0 / 0.8764 GB, free: 9.473 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.235e-05/0.5645, allocations: 8 kB / 0.8764 GB, free: 9.465 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.5645, allocations: 0 / 0.8764 GB, free: 9.465 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.739e-05/0.5645, allocations: 0 / 0.8764 GB, free: 9.465 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.5645, allocations: 4 kB / 0.8764 GB, free: 9.461 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/0.5646, allocations: 109 kB / 0.8765 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.5646, allocations: 7.938 kB / 0.8765 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.5647, allocations: 67.53 kB / 0.8766 GB, free: 9.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.5647, allocations: 0 / 0.8766 GB, free: 9.27 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5647, allocations: 4 kB / 0.8766 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.5647, allocations: 3.938 kB / 0.8766 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.5648, allocations: 153.7 kB / 0.8767 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5649, allocations: 0 / 0.8767 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.74e-05/0.5649, allocations: 11.98 kB / 0.8768 GB, free: 9.051 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5649, allocations: 7.953 kB / 0.8768 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.5649, allocations: 0 / 0.8768 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.5649, allocations: 0 / 0.8768 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5649, allocations: 0 / 0.8768 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.43e-05/0.565, allocations: 77.03 kB / 0.8768 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.5651, allocations: 85.09 kB / 0.8769 GB, free: 8.848 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.5651, allocations: 7.891 kB / 0.8769 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.722e-05/0.5652, allocations: 4.562 kB / 0.8769 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.5652, allocations: 7.938 kB / 0.8769 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.5652, allocations: 0 / 0.8769 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.207e-05/0.5653, allocations: 87.27 kB / 0.877 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5653, allocations: 0 / 0.877 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001985/0.5655, allocations: 35.94 kB / 0.8771 GB, free: 8.707 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002146/0.5657, allocations: 147.1 kB / 0.8772 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.451e-05/0.5658, allocations: 20 kB / 0.8772 GB, free: 8.535 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5658, allocations: 4 kB / 0.8772 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.479e-05/0.5658, allocations: 11.94 kB / 0.8772 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.5659, allocations: 11.98 kB / 0.8772 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001528/0.5661, allocations: 57.23 kB / 0.8773 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.5663, allocations: 0.6809 MB / 0.878 GB, free: 7.723 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.607e-05/0.5664, allocations: 8 kB / 0.878 GB, free: 7.715 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.5664, allocations: 7.438 kB / 0.878 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.5664, allocations: 0 / 0.878 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of Templates: time 0.002851/0.5693, allocations: 0.9497 MB / 0.8789 GB, free: 6.766 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)