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.001272/0.001273, allocations: 104 kB / 16.94 MB, free: 6.191 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.0012/0.0012, allocations: 189.3 kB / 17.86 MB, free: 5.293 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.446/1.446, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7972/0.7972, allocations: 125.4 MB / 417.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.88 kB / 0.4948 GB, free: 4.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3535, allocations: 78.55 MB / 0.5715 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002286/0.3558, allocations: 1.271 MB / 0.5728 GB, free: 30.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1557/0.5116, allocations: 132 MB / 0.7017 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.19e-05/0.5117, allocations: 0 / 0.7017 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.396e-05/0.5118, allocations: 0 / 0.7017 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.77e-05/0.5118, allocations: 7.922 kB / 0.7017 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.5121, allocations: 55.67 kB / 0.7017 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.976e-05/0.5122, allocations: 23.92 kB / 0.7018 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.5122, allocations: 4 kB / 0.7018 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.002e-05/0.5123, allocations: 7.828 kB / 0.7018 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.639e-05/0.5123, allocations: 11.98 kB / 0.7018 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.5124, allocations: 4 kB / 0.7018 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.868e-05/0.5124, allocations: 15.94 kB / 0.7018 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.5125, allocations: 3.984 kB / 0.7018 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.5125, allocations: 7.938 kB / 0.7018 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.025e-05/0.5126, allocations: 33.88 kB / 0.7019 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.5126, allocations: 0 / 0.7019 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.11e-07/0.5126, allocations: 4 kB / 0.7019 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.5126, allocations: 0 / 0.7019 GB, free: 1.656 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003907/0.513, allocations: 337.3 kB / 0.7022 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.766e-05/0.513, allocations: 12.03 kB / 0.7022 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.5131, allocations: 4.938 kB / 0.7022 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.5132, allocations: 168.4 kB / 0.7024 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.053e-05/0.5133, allocations: 26.27 kB / 0.7024 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.5133, allocations: 8.359 kB / 0.7024 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.5134, allocations: 38.25 kB / 0.7024 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.5134, allocations: 3.938 kB / 0.7024 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.5134, allocations: 0 / 0.7024 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5134, allocations: 0 / 0.7024 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.613e-05/0.5135, allocations: 23.86 kB / 0.7025 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.5137, allocations: 157.7 kB / 0.7026 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.992e-05/0.5138, allocations: 30.58 kB / 0.7026 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.5139, allocations: 16.94 kB / 0.7026 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/0.514, allocations: 89.09 kB / 0.7027 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.5141, allocations: 34.56 kB / 0.7028 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.5141, allocations: 0 / 0.7028 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002285/0.5143, allocations: 69.45 kB / 0.7028 GB, free: 476 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.5144, allocations: 51.41 kB / 0.7029 GB, free: 412 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.111e-05/0.5144, allocations: 97.86 kB / 0.703 GB, free: 304 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.5145, allocations: 25.7 kB / 0.703 GB, free: 272 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.712e-05/0.5145, allocations: 80.14 kB / 0.7031 GB, free: 188 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.5145, allocations: 11.83 kB / 0.7031 GB, free: 176 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.5146, allocations: 21.72 kB / 0.7031 GB, free: 148 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5147, allocations: 310.8 kB / 0.7034 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.463e-05/0.5148, allocations: 4 kB / 0.7034 GB, free: 15.83 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.894e-05/0.5148, allocations: 15.98 kB / 0.7034 GB, free: 15.81 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.297e-05/0.5149, allocations: 24.78 kB / 0.7034 GB, free: 15.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5149, allocations: 3.938 kB / 0.7034 GB, free: 15.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000133/0.5151, allocations: 53.69 kB / 0.7035 GB, free: 15.72 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.5151, allocations: 7.938 kB / 0.7035 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.5151, allocations: 0 / 0.7035 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.5151, allocations: 0 / 0.7035 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.5152, allocations: 7.984 kB / 0.7035 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.5152, allocations: 4 kB / 0.7035 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.864e-05/0.5152, allocations: 0.5156 kB / 0.7035 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.5152, allocations: 0 / 0.7035 GB, free: 15.7 MB / 0.545 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 8.371e-05/0.5153, allocations: 109.8 kB / 0.7036 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.5154, allocations: 7.938 kB / 0.7036 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.5155, allocations: 65.09 kB / 0.7037 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.5155, allocations: 0 / 0.7037 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.5156, allocations: 4 kB / 0.7037 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.5156, allocations: 0 / 0.7037 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.5157, allocations: 157.6 kB / 0.7038 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.5157, allocations: 0 / 0.7038 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.356e-05/0.5158, allocations: 4 kB / 0.7039 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.5158, allocations: 3.938 kB / 0.7039 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.5158, allocations: 4 kB / 0.7039 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.5158, allocations: 0 / 0.7039 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.5158, allocations: 8 kB / 0.7039 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.516, allocations: 73.05 kB / 0.7039 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.5161, allocations: 81.11 kB / 0.704 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.5161, allocations: 15.86 kB / 0.704 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.906e-05/0.5161, allocations: 0 / 0.704 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.5162, allocations: 8 kB / 0.704 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.5162, allocations: 0 / 0.704 GB, free: 15.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.609e-05/0.5162, allocations: 79.28 kB / 0.7041 GB, free: 14.99 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5162, allocations: 0 / 0.7041 GB, free: 14.99 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001856/0.5164, allocations: 8 kB / 0.7041 GB, free: 14.98 MB / 0.545 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.0001604/0.5166, allocations: 111.2 kB / 0.7042 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001355/0.5167, allocations: 23.97 kB / 0.7042 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5167, allocations: 0 / 0.7042 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.75e-05/0.5168, allocations: 19.94 kB / 0.7043 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.517, allocations: 11.91 kB / 0.7043 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.5173, allocations: 149.5 kB / 0.7044 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.5176, allocations: 0.6729 MB / 0.7051 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.5176, allocations: 7.438 kB / 0.7051 GB, free: 13.92 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.5176, allocations: 4 kB / 0.7051 GB, free: 13.91 MB / 0.545 GB Notification: Performance of Templates: time 0.001865/0.5195, allocations: 0.5664 MB / 0.7056 GB, free: 13.35 MB / 0.545 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)