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.9023/0.9023, 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.001104/0.001104, allocations: 187.8 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.524/1.524, 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.000885/0.0008851, allocations: 96.94 kB / 0.5124 GB, free: 24.07 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001907/0.001907, allocations: 270.5 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.819e-05/3.828e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5006/0.5007, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1715/0.6723, allocations: 135.8 MB / 0.8968 GB, free: 4.734 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.6726, allocations: 72.34 kB / 0.8969 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.005872/0.6785, allocations: 2.206 MB / 0.8991 GB, free: 2.473 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.674e-06/0.6785, allocations: 0 / 0.8991 GB, free: 2.473 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.6785, allocations: 4 kB / 0.8991 GB, free: 2.469 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004508/0.679, allocations: 362.4 kB / 0.8994 GB, free: 2.07 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.6791, allocations: 12.02 kB / 0.8994 GB, free: 2.059 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.6791, allocations: 15.91 kB / 0.8994 GB, free: 2.043 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.6793, allocations: 175 kB / 0.8996 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.6793, allocations: 0 / 0.8996 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.6793, allocations: 4 kB / 0.8996 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.6794, allocations: 49.62 kB / 0.8997 GB, free: 1.773 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.6795, allocations: 4 kB / 0.8997 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.6795, allocations: 0 / 0.8997 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.6795, allocations: 0 / 0.8997 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.921e-05/0.6796, allocations: 24 kB / 0.8997 GB, free: 1.746 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.68, allocations: 288.7 kB / 0.9 GB, free: 1.414 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.881e-05/0.6801, allocations: 30.58 kB / 0.9 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/0.6801, allocations: 12.86 kB / 0.9 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001959/0.6803, allocations: 97.19 kB / 0.9001 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.6804, allocations: 34.56 kB / 0.9001 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 2.735e-06/0.6804, allocations: 0 / 0.9001 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0001802/0.6806, allocations: 53.53 kB / 0.9002 GB, free: 1.145 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.6806, allocations: 59.36 kB / 0.9002 GB, free: 1.074 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.857e-05/0.6807, allocations: 112.9 kB / 0.9003 GB, free: 0.957 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.6807, allocations: 25.7 kB / 0.9004 GB, free: 0.9258 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.6808, allocations: 96.08 kB / 0.9005 GB, free: 0.8281 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.6808, allocations: 7.906 kB / 0.9005 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.6808, allocations: 3.938 kB / 0.9005 GB, free: 0.8164 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.681, allocations: 314.8 kB / 0.9008 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.714e-05/0.681, allocations: 12 kB / 0.9008 GB, free: 500 kB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/0.681, allocations: 8 kB / 0.9008 GB, free: 492 kB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.642e-05/0.681, allocations: 12.12 kB / 0.9008 GB, free: 480 kB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.6811, allocations: 0 / 0.9008 GB, free: 480 kB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001021/0.6812, allocations: 57.53 kB / 0.9009 GB, free: 416 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.6812, allocations: 8 kB / 0.9009 GB, free: 408 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.6812, allocations: 4 kB / 0.9009 GB, free: 404 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.6812, allocations: 0 / 0.9009 GB, free: 404 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.6814, allocations: 19.98 kB / 0.9009 GB, free: 384 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.6814, allocations: 0 / 0.9009 GB, free: 384 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.196e-05/0.6815, allocations: 23.94 kB / 0.9009 GB, free: 360 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.6815, allocations: 7.984 kB / 0.9009 GB, free: 352 kB / 0.5573 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 (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.523e-05/0.6816, allocations: 101 kB / 0.901 GB, free: 244 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.6816, allocations: 7.906 kB / 0.901 GB, free: 236 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.6817, allocations: 61.66 kB / 0.9011 GB, free: 168 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.6817, allocations: 0 / 0.9011 GB, free: 168 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.6818, allocations: 0 / 0.9011 GB, free: 168 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.6818, allocations: 0 / 0.9011 GB, free: 168 kB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.682, allocations: 177.7 kB / 0.9012 GB, free: 15.94 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.682, allocations: 0 / 0.9012 GB, free: 15.94 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.6821, allocations: 31.97 kB / 0.9013 GB, free: 15.91 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6821, allocations: 0 / 0.9013 GB, free: 15.91 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.6821, allocations: 4 kB / 0.9013 GB, free: 15.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.6821, allocations: 3.938 kB / 0.9013 GB, free: 15.9 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6821, allocations: 0 / 0.9013 GB, free: 15.9 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.6823, allocations: 147.5 kB / 0.9014 GB, free: 15.74 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.09e-05/0.6823, allocations: 85.02 kB / 0.9015 GB, free: 15.64 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.6823, allocations: 4 kB / 0.9015 GB, free: 15.63 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.6825, allocations: 15.92 kB / 0.9015 GB, free: 15.62 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.6825, allocations: 11.98 kB / 0.9015 GB, free: 15.61 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.6825, allocations: 4 kB / 0.9015 GB, free: 15.6 MB / 0.573 GB Notification: Performance of sorting global known variables: time 6.062e-05/0.6826, allocations: 95.22 kB / 0.9016 GB, free: 15.51 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6826, allocations: 0 / 0.9016 GB, free: 15.51 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00021/0.6828, allocations: 15.94 kB / 0.9016 GB, free: 15.49 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 () * 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.0002116/0.683, allocations: 140.1 kB / 0.9018 GB, free: 15.35 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 9.886e-05/0.6831, allocations: 27.98 kB / 0.9018 GB, free: 15.32 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6832, allocations: 0 / 0.9018 GB, free: 15.32 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.795e-05/0.6832, allocations: 15.94 kB / 0.9018 GB, free: 15.31 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.6834, allocations: 18.22 kB / 0.9018 GB, free: 15.29 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.6836, allocations: 80.91 kB / 0.9019 GB, free: 15.19 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.6839, allocations: 0.6809 MB / 0.9026 GB, free: 14.48 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 3.591e-05/0.6839, allocations: 7.984 kB / 0.9026 GB, free: 14.48 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.684, allocations: 11.44 kB / 0.9026 GB, free: 14.46 MB / 0.573 GB Notification: Performance of SimCode: time 2.5e-07/0.684, allocations: 0 / 0.9026 GB, free: 14.46 MB / 0.573 GB Notification: Performance of Templates: time 0.003643/0.6876, allocations: 1.358 MB / 0.9039 GB, free: 13.12 MB / 0.573 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)