Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 106.5 kB / 16.52 MB, free: 6.66 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.001635/0.001635, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.353/1.353, allocations: 222.9 MB / 241.1 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6966/0.6966, allocations: 115.3 MB / 406.6 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 59.91 kB / 493.6 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3148, allocations: 76.17 MB / 0.5564 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001958/0.3168, allocations: 1.325 MB / 0.5577 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1252/0.4421, allocations: 129.9 MB / 0.6845 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.936e-05/0.4422, allocations: 0 / 0.6845 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.165e-05/0.4422, allocations: 3.938 kB / 0.6845 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.991e-05/0.4423, allocations: 3.984 kB / 0.6845 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.4426, allocations: 47.8 kB / 0.6846 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.268e-05/0.4427, allocations: 23.86 kB / 0.6846 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.213e-05/0.4427, allocations: 0 / 0.6846 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.561e-05/0.4427, allocations: 11.94 kB / 0.6846 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/0.4428, allocations: 11.98 kB / 0.6846 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.4428, allocations: 4 kB / 0.6846 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.703e-05/0.4429, allocations: 8 kB / 0.6846 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.4429, allocations: 7.984 kB / 0.6846 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.4429, allocations: 15.92 kB / 0.6846 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 7.206e-05/0.443, allocations: 13.97 kB / 0.6847 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.443, allocations: 0 / 0.6847 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.304e-06/0.443, allocations: 3.984 kB / 0.6847 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.443, allocations: 0 / 0.6847 GB, free: 0.918 MB / 0.5137 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.0003959/0.4434, allocations: 335.5 kB / 0.685 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.4435, allocations: 19.91 kB / 0.685 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.4435, allocations: 4.844 kB / 0.685 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.4436, allocations: 160.4 kB / 0.6852 GB, free: 328 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.275e-05/0.4437, allocations: 34.27 kB / 0.6852 GB, free: 288 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.4437, allocations: 384 / 0.6852 GB, free: 288 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.4438, allocations: 42.25 kB / 0.6852 GB, free: 240 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.4439, allocations: 3.938 kB / 0.6852 GB, free: 236 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.4439, allocations: 0 / 0.6852 GB, free: 236 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4439, allocations: 0 / 0.6852 GB, free: 236 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.891e-05/0.444, allocations: 19.92 kB / 0.6853 GB, free: 216 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.4441, allocations: 153.7 kB / 0.6854 GB, free: 12 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.4442, allocations: 34.66 kB / 0.6854 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.142e-05/0.4443, allocations: 16.86 kB / 0.6855 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.4445, allocations: 89.19 kB / 0.6855 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.4445, allocations: 34.56 kB / 0.6856 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.4445, allocations: 3.938 kB / 0.6856 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002293/0.4447, allocations: 61.59 kB / 0.6856 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.4448, allocations: 59.34 kB / 0.6857 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.102e-05/0.4448, allocations: 97.84 kB / 0.6858 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.4449, allocations: 29.7 kB / 0.6858 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.4449, allocations: 84.14 kB / 0.6859 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.4449, allocations: 7.844 kB / 0.6859 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.445, allocations: 21.62 kB / 0.6859 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.62e-05/0.4451, allocations: 310.8 kB / 0.6862 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.451e-05/0.4451, allocations: 7.984 kB / 0.6862 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.413e-05/0.4452, allocations: 8 kB / 0.6862 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.839e-05/0.4452, allocations: 24.84 kB / 0.6863 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4453, allocations: 0 / 0.6863 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001203/0.4454, allocations: 53.62 kB / 0.6863 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.4454, allocations: 11.94 kB / 0.6863 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.4454, allocations: 0 / 0.6863 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.4454, allocations: 0 / 0.6863 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.697e-05/0.4455, allocations: 7.984 kB / 0.6863 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4455, allocations: 0 / 0.6863 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.212e-05/0.4455, allocations: 4 kB / 0.6863 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.4456, allocations: 0 / 0.6863 GB, free: 14.96 MB / 0.5294 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.398e-05/0.4456, allocations: 109.8 kB / 0.6864 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.4456, allocations: 7.938 kB / 0.6864 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.4458, allocations: 57.17 kB / 0.6865 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4458, allocations: 0 / 0.6865 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4458, allocations: 0 / 0.6865 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.4458, allocations: 3.938 kB / 0.6865 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.217e-05/0.4459, allocations: 153.7 kB / 0.6866 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4459, allocations: 0 / 0.6866 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.204e-05/0.446, allocations: 11.98 kB / 0.6867 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.446, allocations: 7.766 kB / 0.6867 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.446, allocations: 4 kB / 0.6867 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.446, allocations: 0 / 0.6867 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.446, allocations: 0 / 0.6867 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.4462, allocations: 69.69 kB / 0.6867 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.4462, allocations: 89 kB / 0.6868 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.4462, allocations: 11.94 kB / 0.6868 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.89e-05/0.4463, allocations: 0 / 0.6868 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.4463, allocations: 4 kB / 0.6868 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.4463, allocations: 4 kB / 0.6868 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.864e-05/0.4464, allocations: 83.3 kB / 0.6869 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.372e-06/0.4464, allocations: 0 / 0.6869 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001805/0.4466, allocations: 15.88 kB / 0.6869 GB, free: 14.24 MB / 0.5294 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 (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.0001293/0.4467, allocations: 111.2 kB / 0.687 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.4468, allocations: 19.98 kB / 0.6871 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4468, allocations: 4 kB / 0.6871 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.634e-05/0.4469, allocations: 12 kB / 0.6871 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.4471, allocations: 9.703 kB / 0.6871 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.4474, allocations: 154.6 kB / 0.6872 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.4476, allocations: 0.6809 MB / 0.6879 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.4477, allocations: 15.44 kB / 0.6879 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.4477, allocations: 0 / 0.6879 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of Templates: time 0.001644/0.4493, allocations: 0.5605 MB / 0.6885 GB, free: 12.61 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)