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.001308/0.001308, allocations: 103.6 kB / 16.64 MB, free: 6.82 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.001146/0.001146, allocations: 193.9 kB / 17.57 MB, free: 5.934 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.299/1.299, allocations: 222.9 MB / 241.3 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7467/0.7467, allocations: 122.9 MB / 414.2 MB, free: 0 / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 71.88 kB / 0.4912 GB, free: 7.824 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3328, allocations: 77.92 MB / 0.5673 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002677/0.3355, allocations: 1.535 MB / 0.5688 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1292/0.4647, allocations: 130.1 MB / 0.6959 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.4648, allocations: 0 / 0.6959 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.514e-05/0.4648, allocations: 0 / 0.6959 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.484e-05/0.465, allocations: 15.92 kB / 0.6959 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003524/0.4653, allocations: 55.78 kB / 0.696 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.117e-05/0.4654, allocations: 59.72 kB / 0.696 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.272e-05/0.4655, allocations: 14.11 kB / 0.696 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.813e-05/0.4656, allocations: 19.92 kB / 0.696 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.482e-05/0.4656, allocations: 23.92 kB / 0.6961 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.4656, allocations: 4 kB / 0.6961 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.548e-05/0.4657, allocations: 15.98 kB / 0.6961 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.4658, allocations: 19.92 kB / 0.6961 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.4658, allocations: 19.86 kB / 0.6961 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.4659, allocations: 43.77 kB / 0.6962 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4659, allocations: 0 / 0.6962 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4659, allocations: 0 / 0.6962 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.4659, allocations: 0 / 0.6962 GB, free: 6.824 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.0004973/0.4664, allocations: 379.2 kB / 0.6965 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.4665, allocations: 8.625 kB / 0.6965 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.4665, allocations: 8.938 kB / 0.6965 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.4666, allocations: 180.2 kB / 0.6967 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.4667, allocations: 384 / 0.6967 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.4667, allocations: 4.375 kB / 0.6967 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.4669, allocations: 78.2 kB / 0.6968 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.4669, allocations: 192 / 0.6968 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.467, allocations: 3.938 kB / 0.6968 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.467, allocations: 0 / 0.6968 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/0.4673, allocations: 71.92 kB / 0.6969 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.4676, allocations: 288.7 kB / 0.6971 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.4678, allocations: 58.53 kB / 0.6972 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.468, allocations: 36.92 kB / 0.6972 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.4681, allocations: 89.09 kB / 0.6973 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.4682, allocations: 34.56 kB / 0.6973 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4682, allocations: 0 / 0.6973 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005096/0.4687, allocations: 137.5 kB / 0.6975 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.4687, allocations: 55.41 kB / 0.6975 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.494e-05/0.4688, allocations: 116.6 kB / 0.6976 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.4689, allocations: 25.7 kB / 0.6977 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.4689, allocations: 100 kB / 0.6978 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.4689, allocations: 3.906 kB / 0.6978 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.469, allocations: 17.72 kB / 0.6978 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4691, allocations: 318.8 kB / 0.6981 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.4692, allocations: 35.91 kB / 0.6981 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.4694, allocations: 27.97 kB / 0.6982 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.4696, allocations: 76.72 kB / 0.6982 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4696, allocations: 0 / 0.6982 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003005/0.4699, allocations: 97.53 kB / 0.6983 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.47, allocations: 11.98 kB / 0.6983 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.47, allocations: 0 / 0.6983 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.47, allocations: 4 kB / 0.6983 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.4701, allocations: 11.98 kB / 0.6983 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.4701, allocations: 0 / 0.6983 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.952e-05/0.4702, allocations: 19.92 kB / 0.6984 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.4702, allocations: 4 kB / 0.6984 GB, free: 4.324 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.85e-05/0.4703, allocations: 114.4 kB / 0.6985 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.4703, allocations: 7.938 kB / 0.6985 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003561/0.4707, allocations: 113.4 kB / 0.6986 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4707, allocations: 4 kB / 0.6986 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.4707, allocations: 0 / 0.6986 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.4707, allocations: 0 / 0.6986 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.4709, allocations: 173.5 kB / 0.6988 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4709, allocations: 0 / 0.6988 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.932e-05/0.471, allocations: 23.97 kB / 0.6988 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.471, allocations: 0 / 0.6988 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.471, allocations: 0 / 0.6988 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.471, allocations: 0 / 0.6988 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.471, allocations: 0 / 0.6988 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.4714, allocations: 203.4 kB / 0.699 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.4715, allocations: 85 kB / 0.6991 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.4715, allocations: 0 / 0.6991 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.4716, allocations: 11.98 kB / 0.6991 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.4716, allocations: 4 kB / 0.6991 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.4716, allocations: 7.984 kB / 0.6991 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.707e-05/0.4717, allocations: 87.28 kB / 0.6992 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.693e-06/0.4717, allocations: 0 / 0.6992 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002389/0.472, allocations: 19.94 kB / 0.6992 GB, free: 3.383 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.0001427/0.4721, allocations: 103.2 kB / 0.6993 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003398/0.4724, allocations: 76.34 kB / 0.6994 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4725, allocations: 0 / 0.6994 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.4726, allocations: 47.89 kB / 0.6994 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.4729, allocations: 8.125 kB / 0.6994 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.4733, allocations: 193.5 kB / 0.6996 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.4736, allocations: 0.6885 MB / 0.7003 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.4736, allocations: 11.44 kB / 0.7003 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.4736, allocations: 0 / 0.7003 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of Templates: time 0.002367/0.476, allocations: 0.9377 MB / 0.7012 GB, free: 1.273 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)