Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_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.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7905/0.7905, allocations: 143.4 MB / 158.3 MB, free: 5.785 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.001118/0.001118, allocations: 185 kB / 191.5 MB, free: 5.742 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.53/1.53, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.001407/0.001407, allocations: 88.33 kB / 0.5188 GB, free: 1.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001819/0.001819, allocations: 280.3 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004298/0.0004298, allocations: 18.22 kB / 0.6929 GB, free: 59.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2047, allocations: 82.8 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6145/0.8193, allocations: 135.8 MB / 0.9063 GB, free: 22.16 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.8195, allocations: 80.89 kB / 0.9064 GB, free: 22.16 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.005475/0.825, allocations: 2.199 MB / 0.9086 GB, free: 21.73 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.575e-06/0.8251, allocations: 0 / 0.9086 GB, free: 21.73 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.8251, allocations: 3.062 kB / 0.9086 GB, free: 21.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004194/0.8255, allocations: 382.9 kB / 0.9089 GB, free: 21.37 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.8256, allocations: 8.375 kB / 0.9089 GB, free: 21.37 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.8256, allocations: 7.812 kB / 0.909 GB, free: 21.36 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.528e-05/0.8257, allocations: 171.5 kB / 0.9091 GB, free: 21.16 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.8257, allocations: 0.8125 kB / 0.9091 GB, free: 21.16 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.8258, allocations: 3.938 kB / 0.9091 GB, free: 21.16 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.826, allocations: 91.45 kB / 0.9092 GB, free: 21.12 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.826, allocations: 0 / 0.9092 GB, free: 21.12 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.826, allocations: 7.891 kB / 0.9092 GB, free: 21.12 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.8261, allocations: 0 / 0.9092 GB, free: 21.12 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/0.8263, allocations: 85.66 kB / 0.9093 GB, free: 21.11 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.8267, allocations: 298.1 kB / 0.9096 GB, free: 20.83 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.8269, allocations: 67.44 kB / 0.9096 GB, free: 20.81 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.8271, allocations: 91.83 kB / 0.9097 GB, free: 20.71 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.8271, allocations: 30.56 kB / 0.9098 GB, free: 20.67 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.8271, allocations: 0 / 0.9098 GB, free: 20.67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0005481/0.8277, allocations: 171.8 kB / 0.9099 GB, free: 20.63 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.8277, allocations: 55.36 kB / 0.91 GB, free: 20.56 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.246e-05/0.8278, allocations: 108.7 kB / 0.9101 GB, free: 20.47 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.8278, allocations: 29.64 kB / 0.9101 GB, free: 20.44 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.8279, allocations: 95.39 kB / 0.9102 GB, free: 20.35 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.8279, allocations: 3.906 kB / 0.9102 GB, free: 20.35 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.8279, allocations: 0 / 0.9102 GB, free: 20.35 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.641e-05/0.828, allocations: 321.2 kB / 0.9105 GB, free: 20.04 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.8282, allocations: 44 kB / 0.9106 GB, free: 20.03 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.8283, allocations: 45.39 kB / 0.9106 GB, free: 20.03 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.8284, allocations: 39.47 kB / 0.9106 GB, free: 20.03 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8284, allocations: 0 / 0.9106 GB, free: 20.03 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002932/0.8287, allocations: 126.5 kB / 0.9108 GB, free: 19.98 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.8288, allocations: 7.75 kB / 0.9108 GB, free: 19.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.8288, allocations: 0 / 0.9108 GB, free: 19.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.8288, allocations: 4 kB / 0.9108 GB, free: 19.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.8289, allocations: 21.03 kB / 0.9108 GB, free: 19.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.829, allocations: 0 / 0.9108 GB, free: 19.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.401e-05/0.829, allocations: 24.89 kB / 0.9108 GB, free: 19.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.8291, allocations: 0 / 0.9108 GB, free: 19.98 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.496e-05/0.8291, allocations: 113.8 kB / 0.9109 GB, free: 19.86 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.8292, allocations: 3.875 kB / 0.9109 GB, free: 19.86 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.8295, allocations: 131.5 kB / 0.911 GB, free: 19.81 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.8295, allocations: 0 / 0.911 GB, free: 19.81 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.8295, allocations: 0.75 kB / 0.9111 GB, free: 19.81 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.8295, allocations: 6.016 kB / 0.9111 GB, free: 19.81 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.8297, allocations: 179.2 kB / 0.9112 GB, free: 19.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.8297, allocations: 3.875 kB / 0.9112 GB, free: 19.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.8298, allocations: 26.08 kB / 0.9113 GB, free: 19.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8298, allocations: 0 / 0.9113 GB, free: 19.61 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.8298, allocations: 0 / 0.9113 GB, free: 19.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8298, allocations: 0 / 0.9113 GB, free: 19.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.8298, allocations: 0 / 0.9113 GB, free: 19.61 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/0.8302, allocations: 219.8 kB / 0.9115 GB, free: 19.47 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.65e-05/0.8302, allocations: 85.05 kB / 0.9115 GB, free: 19.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.8302, allocations: 2.984 kB / 0.9115 GB, free: 19.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.8303, allocations: 20.59 kB / 0.9116 GB, free: 19.37 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.8304, allocations: 6.484 kB / 0.9116 GB, free: 19.37 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.8304, allocations: 0 / 0.9116 GB, free: 19.37 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.48e-05/0.8305, allocations: 93.77 kB / 0.9117 GB, free: 19.29 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.515e-06/0.8305, allocations: 3.875 kB / 0.9117 GB, free: 19.29 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002331/0.8307, allocations: 19.5 kB / 0.9117 GB, free: 19.29 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002288/0.8309, allocations: 141.7 kB / 0.9118 GB, free: 19.19 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003336/0.8313, allocations: 92.44 kB / 0.9119 GB, free: 19.18 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.8313, allocations: 0 / 0.9119 GB, free: 19.18 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.8314, allocations: 49.31 kB / 0.912 GB, free: 19.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.8316, allocations: 17.03 kB / 0.912 GB, free: 19.17 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.832, allocations: 180.7 kB / 0.9121 GB, free: 19.03 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.8321, allocations: 0.6847 MB / 0.9128 GB, free: 18.34 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.861e-05/0.8322, allocations: 7.938 kB / 0.9128 GB, free: 18.33 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.8322, allocations: 7.438 kB / 0.9128 GB, free: 18.32 MB / 0.5417 GB Notification: Performance of SimCode: time 2.1e-07/0.8322, allocations: 0 / 0.9128 GB, free: 18.32 MB / 0.5417 GB Notification: Performance of Templates: time 0.003554/0.8358, allocations: 1.26 MB / 0.9141 GB, free: 18.21 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)