Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6474/0.6474, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 349.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 111.8 kB / 420 MB, free: 8.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001006, allocations: 55.91 kB / 0.4891 GB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3357, allocations: 70.05 MB / 0.5575 GB, free: 44.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002533/0.3383, allocations: 1.547 MB / 0.559 GB, free: 43.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1276/0.4659, allocations: 129.9 MB / 0.6859 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.196e-05/0.466, allocations: 0 / 0.6859 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.69e-05/0.466, allocations: 0 / 0.6859 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.486e-05/0.4661, allocations: 11.91 kB / 0.6859 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.4665, allocations: 55.8 kB / 0.6859 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.307e-05/0.4666, allocations: 51.8 kB / 0.686 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.23e-05/0.4667, allocations: 18.09 kB / 0.686 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.902e-05/0.4668, allocations: 23.91 kB / 0.686 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.258e-05/0.4668, allocations: 23.86 kB / 0.6861 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.4668, allocations: 4 kB / 0.6861 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.858e-05/0.4669, allocations: 19.98 kB / 0.6861 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.4669, allocations: 7.984 kB / 0.6861 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.413e-05/0.467, allocations: 19.88 kB / 0.6861 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.4671, allocations: 55.8 kB / 0.6862 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4671, allocations: 4 kB / 0.6862 GB, free: 8.945 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.31e-07/0.4671, allocations: 0 / 0.6862 GB, free: 8.945 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.4671, allocations: 4 kB / 0.6862 GB, free: 8.941 MB / 0.4948 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.0004976/0.4676, allocations: 375.2 kB / 0.6865 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.4677, allocations: 12.03 kB / 0.6865 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.4677, allocations: 4.844 kB / 0.6865 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.4678, allocations: 172.3 kB / 0.6867 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.4679, allocations: 4.375 kB / 0.6867 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.4679, allocations: 4.375 kB / 0.6867 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.4681, allocations: 78.14 kB / 0.6868 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.4682, allocations: 192 / 0.6868 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.4682, allocations: 3.938 kB / 0.6868 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4682, allocations: 4 kB / 0.6868 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.4685, allocations: 71.92 kB / 0.6869 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.4689, allocations: 284.7 kB / 0.6871 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.4691, allocations: 50.55 kB / 0.6872 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.4692, allocations: 44.91 kB / 0.6872 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/0.4694, allocations: 89.09 kB / 0.6873 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.4694, allocations: 30.56 kB / 0.6873 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.4694, allocations: 0 / 0.6873 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0005452/0.47, allocations: 137.4 kB / 0.6875 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.4701, allocations: 59.39 kB / 0.6875 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.4702, allocations: 113.8 kB / 0.6876 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.4702, allocations: 29.7 kB / 0.6877 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.4703, allocations: 88.14 kB / 0.6878 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.4703, allocations: 7.969 kB / 0.6878 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.4703, allocations: 17.7 kB / 0.6878 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.4705, allocations: 326.8 kB / 0.6881 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.4706, allocations: 31.95 kB / 0.6881 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.4708, allocations: 27.97 kB / 0.6881 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.471, allocations: 76.72 kB / 0.6882 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.471, allocations: 0 / 0.6882 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003242/0.4714, allocations: 101.8 kB / 0.6883 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.4714, allocations: 8.625 kB / 0.6883 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4714, allocations: 0 / 0.6883 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.4714, allocations: 7.969 kB / 0.6883 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.4716, allocations: 19.97 kB / 0.6883 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.4716, allocations: 4 kB / 0.6884 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.693e-05/0.4717, allocations: 11.92 kB / 0.6884 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.4717, allocations: 4 kB / 0.6884 GB, free: 6.441 MB / 0.4948 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 7.512e-05/0.4718, allocations: 117.8 kB / 0.6885 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.4718, allocations: 7.906 kB / 0.6885 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000344/0.4721, allocations: 113.5 kB / 0.6886 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4721, allocations: 0 / 0.6886 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4722, allocations: 0 / 0.6886 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.4722, allocations: 0 / 0.6886 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.4723, allocations: 173.6 kB / 0.6888 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4723, allocations: 0 / 0.6888 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.869e-05/0.4724, allocations: 15.98 kB / 0.6888 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4724, allocations: 0 / 0.6888 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.4725, allocations: 0 / 0.6888 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4725, allocations: 11.92 kB / 0.6888 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4725, allocations: 4 kB / 0.6888 GB, free: 5.938 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007842/0.4733, allocations: 0.7785 MB / 0.6896 GB, free: 5.102 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.4733, allocations: 81.09 kB / 0.6896 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.4733, allocations: 0 / 0.6896 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.4734, allocations: 11.98 kB / 0.6896 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.4735, allocations: 3.938 kB / 0.6896 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.4735, allocations: 4 kB / 0.6896 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.535e-05/0.4736, allocations: 95.27 kB / 0.6897 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4736, allocations: 3.938 kB / 0.6897 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003149/0.4739, allocations: 20 kB / 0.6898 GB, free: 4.867 MB / 0.4948 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.0001209/0.474, allocations: 103.2 kB / 0.6899 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003345/0.4744, allocations: 67.92 kB / 0.6899 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4744, allocations: 0 / 0.6899 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.4745, allocations: 39.95 kB / 0.69 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.4748, allocations: 18.52 kB / 0.69 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.4752, allocations: 276.3 kB / 0.6902 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.4754, allocations: 0.6848 MB / 0.6909 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.421e-05/0.4755, allocations: 7.984 kB / 0.6909 GB, free: 3.605 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.4755, allocations: 7.438 kB / 0.6909 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of SimCode: time 2e-07/0.4755, allocations: 0 / 0.6909 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of Templates: time 0.002711/0.4782, allocations: 0.875 MB / 0.6918 GB, free: 2.738 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)