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.001054/0.001054, allocations: 88.75 kB / 16.66 MB, free: 5.738 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: 181.9 kB / 17.58 MB, free: 5.477 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.346/1.346, allocations: 223.3 MB / 241.6 MB, free: 176 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7146/0.7146, allocations: 115.5 MB / 408.2 MB, free: 7.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003239, allocations: 8.281 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3595, allocations: 77.52 MB / 0.5606 GB, free: 36.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001646/0.3612, allocations: 1.207 MB / 0.5618 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1381/0.4992, allocations: 128.5 MB / 0.6873 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.522e-05/0.4994, allocations: 3.938 kB / 0.6873 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.4994, allocations: 0 / 0.6873 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.621e-05/0.4995, allocations: 11.92 kB / 0.6873 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.4999, allocations: 55.78 kB / 0.6874 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.5, allocations: 55.73 kB / 0.6874 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.925e-05/0.5001, allocations: 18.09 kB / 0.6874 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.539e-05/0.5002, allocations: 19.92 kB / 0.6874 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.893e-05/0.5002, allocations: 15.92 kB / 0.6875 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.5003, allocations: 7.984 kB / 0.6875 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.659e-05/0.5003, allocations: 12 kB / 0.6875 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.5004, allocations: 7.922 kB / 0.6875 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.312e-05/0.5004, allocations: 53.56 kB / 0.6875 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.641e-05/0.5005, allocations: 35.89 kB / 0.6876 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5005, allocations: 0 / 0.6876 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5006, allocations: 0 / 0.6876 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.5006, allocations: 0 / 0.6876 GB, free: 1.055 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004969/0.5011, allocations: 381.1 kB / 0.6879 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.5011, allocations: 11.97 kB / 0.6879 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.5011, allocations: 8.844 kB / 0.688 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.5013, allocations: 172.3 kB / 0.6881 GB, free: 416 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.5013, allocations: 4.375 kB / 0.6881 GB, free: 412 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.5013, allocations: 4.375 kB / 0.6881 GB, free: 408 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.5016, allocations: 90.19 kB / 0.6882 GB, free: 312 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.5016, allocations: 192 / 0.6882 GB, free: 312 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.5016, allocations: 3.938 kB / 0.6882 GB, free: 308 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.5016, allocations: 0 / 0.6882 GB, free: 308 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.5019, allocations: 95.92 kB / 0.6883 GB, free: 212 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.5023, allocations: 280.7 kB / 0.6886 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.5026, allocations: 66.55 kB / 0.6886 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.5027, allocations: 56.91 kB / 0.6887 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.5029, allocations: 89.09 kB / 0.6888 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.5029, allocations: 30.56 kB / 0.6888 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.5029, allocations: 0 / 0.6888 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005782/0.5035, allocations: 177.6 kB / 0.689 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.5036, allocations: 51.41 kB / 0.689 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.502e-05/0.5037, allocations: 113.8 kB / 0.6891 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.5037, allocations: 25.7 kB / 0.6892 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.5037, allocations: 92.08 kB / 0.6892 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.5038, allocations: 11.89 kB / 0.6893 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.5038, allocations: 17.66 kB / 0.6893 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5039, allocations: 322.8 kB / 0.6896 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.5041, allocations: 39.95 kB / 0.6896 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.5042, allocations: 43.97 kB / 0.6897 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.5045, allocations: 88.78 kB / 0.6897 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5045, allocations: 3.938 kB / 0.6898 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003424/0.5049, allocations: 125.5 kB / 0.6899 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.5049, allocations: 8 kB / 0.6899 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.5049, allocations: 0 / 0.6899 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.5049, allocations: 0 / 0.6899 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.5051, allocations: 23.97 kB / 0.6899 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.5051, allocations: 4 kB / 0.6899 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.766e-05/0.5052, allocations: 23.92 kB / 0.6899 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.5052, allocations: 0 / 0.6899 GB, free: 14.39 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.321e-05/0.5053, allocations: 114.4 kB / 0.69 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.5053, allocations: 7.906 kB / 0.69 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003983/0.5057, allocations: 129.5 kB / 0.6902 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.5057, allocations: 4 kB / 0.6902 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-06/0.5057, allocations: 0 / 0.6902 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.5057, allocations: 4 kB / 0.6902 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.5059, allocations: 173.6 kB / 0.6903 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5059, allocations: 0 / 0.6903 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.975e-05/0.506, allocations: 23.98 kB / 0.6904 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.506, allocations: 0 / 0.6904 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.506, allocations: 0 / 0.6904 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.5061, allocations: 3.984 kB / 0.6904 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5061, allocations: 4 kB / 0.6904 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.5065, allocations: 219.4 kB / 0.6906 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.5065, allocations: 81.02 kB / 0.6907 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.5065, allocations: 0 / 0.6907 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.5067, allocations: 23.97 kB / 0.6907 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.5067, allocations: 4 kB / 0.6907 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.5067, allocations: 4 kB / 0.6907 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.758e-05/0.5068, allocations: 96.62 kB / 0.6908 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5068, allocations: 0 / 0.6908 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002323/0.507, allocations: 12 kB / 0.6908 GB, free: 13.41 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.0001403/0.5072, allocations: 111.3 kB / 0.6909 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003635/0.5075, allocations: 91.92 kB / 0.691 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5075, allocations: 0 / 0.691 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.5077, allocations: 55.89 kB / 0.691 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.508, allocations: 12.3 kB / 0.6911 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.5084, allocations: 206.2 kB / 0.6912 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.5086, allocations: 0.6809 MB / 0.6919 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.5086, allocations: 11.44 kB / 0.6919 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of SimCode: time 2e-07/0.5086, allocations: 0 / 0.6919 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of Templates: time 0.002217/0.5109, allocations: 0.9229 MB / 0.6928 GB, free: 11.26 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)