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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 101.3 kB / 15.98 MB, free: 6.344 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.001727/0.001727, allocations: 195.1 kB / 16.91 MB, free: 6.188 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.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7692/0.7692, allocations: 122.9 MB / 413.6 MB, free: 8 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 67.88 kB / 0.4906 GB, free: 7.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4203, allocations: 77.92 MB / 0.5667 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002713/0.423, allocations: 1.545 MB / 0.5682 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1355/0.5586, allocations: 130.1 MB / 0.6952 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.752e-05/0.5587, allocations: 0 / 0.6952 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.818e-05/0.5587, allocations: 7.922 kB / 0.6952 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.142e-05/0.5588, allocations: 7.922 kB / 0.6953 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.5592, allocations: 63.73 kB / 0.6953 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.287e-05/0.5593, allocations: 55.78 kB / 0.6954 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.503e-05/0.5594, allocations: 14.11 kB / 0.6954 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.707e-05/0.5594, allocations: 23.91 kB / 0.6954 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.647e-05/0.5595, allocations: 27.91 kB / 0.6954 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.5595, allocations: 4 kB / 0.6954 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.297e-05/0.5596, allocations: 12 kB / 0.6954 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.5596, allocations: 23.86 kB / 0.6955 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.5596, allocations: 23.86 kB / 0.6955 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.5598, allocations: 59.81 kB / 0.6955 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.5598, allocations: 0 / 0.6955 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5598, allocations: 0 / 0.6955 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.5598, allocations: 0 / 0.6955 GB, free: 6.77 MB / 0.5294 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.0005039/0.5603, allocations: 371.3 kB / 0.6959 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.5603, allocations: 8.625 kB / 0.6959 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.5604, allocations: 8.938 kB / 0.6959 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.5605, allocations: 176.2 kB / 0.6961 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.5605, allocations: 8.312 kB / 0.6961 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.5605, allocations: 4.375 kB / 0.6961 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.5608, allocations: 70.22 kB / 0.6962 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.5608, allocations: 192 / 0.6962 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.5608, allocations: 3.938 kB / 0.6962 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.5608, allocations: 3.984 kB / 0.6962 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.5611, allocations: 71.92 kB / 0.6962 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.5615, allocations: 284.7 kB / 0.6965 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.5617, allocations: 62.53 kB / 0.6966 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.5618, allocations: 36.86 kB / 0.6966 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.562, allocations: 89.09 kB / 0.6967 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.5621, allocations: 34.56 kB / 0.6967 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.5621, allocations: 0 / 0.6967 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005428/0.5626, allocations: 133.5 kB / 0.6969 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.5627, allocations: 51.41 kB / 0.6969 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.594e-05/0.5628, allocations: 117.8 kB / 0.697 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.5628, allocations: 25.7 kB / 0.697 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.5628, allocations: 100 kB / 0.6971 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.5629, allocations: 11.97 kB / 0.6971 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.5629, allocations: 13.72 kB / 0.6972 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.563, allocations: 322.8 kB / 0.6975 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.5632, allocations: 27.97 kB / 0.6975 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.5633, allocations: 31.97 kB / 0.6975 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.5636, allocations: 68.78 kB / 0.6976 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5636, allocations: 4 kB / 0.6976 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003147/0.5639, allocations: 105.5 kB / 0.6977 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.5639, allocations: 7.984 kB / 0.6977 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.5639, allocations: 4 kB / 0.6977 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.564, allocations: 3.938 kB / 0.6977 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.5641, allocations: 15.98 kB / 0.6977 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.5641, allocations: 0 / 0.6977 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.198e-05/0.5642, allocations: 15.92 kB / 0.6977 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.5642, allocations: 0 / 0.6977 GB, free: 4.277 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 7.893e-05/0.5643, allocations: 118.4 kB / 0.6979 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.5643, allocations: 4 kB / 0.6979 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003578/0.5647, allocations: 113.4 kB / 0.698 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.5647, allocations: 0 / 0.698 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.5647, allocations: 0 / 0.698 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.5647, allocations: 4 kB / 0.698 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.5649, allocations: 173.5 kB / 0.6981 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5649, allocations: 0 / 0.6981 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.745e-05/0.565, allocations: 19.97 kB / 0.6982 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.565, allocations: 7.938 kB / 0.6982 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.565, allocations: 0 / 0.6982 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.565, allocations: 0 / 0.6982 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.565, allocations: 384 / 0.6982 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.5654, allocations: 199.4 kB / 0.6984 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.5654, allocations: 89 kB / 0.6984 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.5655, allocations: 0 / 0.6984 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.5656, allocations: 11.98 kB / 0.6984 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.5656, allocations: 3.938 kB / 0.6985 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.5656, allocations: 3.984 kB / 0.6985 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.83e-05/0.5657, allocations: 95.28 kB / 0.6985 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5657, allocations: 0 / 0.6985 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002377/0.5659, allocations: 16 kB / 0.6986 GB, free: 3.332 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.0001432/0.5661, allocations: 103.2 kB / 0.6987 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003437/0.5664, allocations: 71.92 kB / 0.6987 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5664, allocations: 0 / 0.6987 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.5666, allocations: 39.95 kB / 0.6988 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.5669, allocations: 19.88 kB / 0.6988 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.5673, allocations: 155.8 kB / 0.6989 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.5675, allocations: 0.6885 MB / 0.6996 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.57e-05/0.5676, allocations: 4 kB / 0.6996 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.5676, allocations: 11.44 kB / 0.6996 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.5676, allocations: 0 / 0.6996 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of Templates: time 0.003033/0.5706, allocations: 0.8894 MB / 0.7005 GB, free: 1.312 MB / 0.5294 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)