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.001113/0.001113, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 185 kB / 16.92 MB, free: 6.754 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.525/1.525, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8245/0.8245, allocations: 126.9 MB / 418.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.000407, allocations: 13.19 kB / 0.498 GB, free: 9.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5007/0.5011, allocations: 80.23 MB / 0.5763 GB, free: 7.918 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001503/0.5027, allocations: 1.21 MB / 0.5775 GB, free: 7.035 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.163/0.6656, allocations: 128.5 MB / 0.703 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.797e-05/0.6657, allocations: 0 / 0.703 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.6657, allocations: 7.922 kB / 0.703 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.991e-05/0.6658, allocations: 7.938 kB / 0.7031 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.6662, allocations: 51.8 kB / 0.7031 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.6663, allocations: 63.7 kB / 0.7032 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.802e-05/0.6664, allocations: 13.97 kB / 0.7032 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.794e-05/0.6664, allocations: 15.92 kB / 0.7032 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.731e-05/0.6665, allocations: 19.92 kB / 0.7032 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.6665, allocations: 4 kB / 0.7032 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/0.6666, allocations: 17.48 kB / 0.7032 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.6666, allocations: 7.922 kB / 0.7032 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.294e-05/0.6667, allocations: 41.58 kB / 0.7033 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.6668, allocations: 63.8 kB / 0.7033 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.6669, allocations: 3.984 kB / 0.7033 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6669, allocations: 0 / 0.7033 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.6669, allocations: 0 / 0.7033 GB, free: 4.98 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.0006059/0.6675, allocations: 379.3 kB / 0.7037 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.6675, allocations: 8.031 kB / 0.7037 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.6676, allocations: 4.938 kB / 0.7037 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.6678, allocations: 180.1 kB / 0.7039 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.6678, allocations: 4.375 kB / 0.7039 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.6678, allocations: 4.375 kB / 0.7039 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.6681, allocations: 86.22 kB / 0.704 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.6681, allocations: 192 / 0.704 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.6682, allocations: 3.938 kB / 0.704 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.6682, allocations: 0 / 0.704 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.6685, allocations: 87.92 kB / 0.7041 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.669, allocations: 292.7 kB / 0.7043 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.6693, allocations: 66.53 kB / 0.7044 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.6695, allocations: 52.92 kB / 0.7045 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/0.6697, allocations: 93.03 kB / 0.7045 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.6697, allocations: 34.56 kB / 0.7046 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.6697, allocations: 0 / 0.7046 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0006533/0.6704, allocations: 165.7 kB / 0.7047 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.6704, allocations: 55.41 kB / 0.7048 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.6706, allocations: 113.8 kB / 0.7049 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.6706, allocations: 25.7 kB / 0.7049 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.6707, allocations: 96.03 kB / 0.705 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.6707, allocations: 3.906 kB / 0.705 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.6707, allocations: 13.72 kB / 0.705 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.6709, allocations: 322.8 kB / 0.7053 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.6711, allocations: 43.95 kB / 0.7054 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.6713, allocations: 43.95 kB / 0.7054 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004361/0.6717, allocations: 92.78 kB / 0.7055 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6717, allocations: 0 / 0.7055 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004018/0.6721, allocations: 121.6 kB / 0.7056 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.6722, allocations: 4 kB / 0.7056 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.6722, allocations: 4 kB / 0.7056 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.6722, allocations: 0 / 0.7056 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.6723, allocations: 19.97 kB / 0.7057 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.6724, allocations: 8 kB / 0.7057 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.6725, allocations: 27.83 kB / 0.7057 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.6725, allocations: 4 kB / 0.7057 GB, free: 2.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 9.06e-05/0.6726, allocations: 109.8 kB / 0.7058 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.6726, allocations: 4 kB / 0.7058 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000446/0.6731, allocations: 133.5 kB / 0.7059 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.6731, allocations: 0 / 0.7059 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.6731, allocations: 7.984 kB / 0.7059 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.6731, allocations: 0 / 0.7059 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.6733, allocations: 169.6 kB / 0.7061 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6733, allocations: 4 kB / 0.7061 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.6734, allocations: 23.91 kB / 0.7061 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.6734, allocations: 4 kB / 0.7061 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.6735, allocations: 3.938 kB / 0.7061 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.6735, allocations: 0 / 0.7061 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6735, allocations: 7.984 kB / 0.7061 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000449/0.6739, allocations: 219.3 kB / 0.7063 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.674, allocations: 85.09 kB / 0.7064 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.674, allocations: 0 / 0.7064 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.6741, allocations: 15.98 kB / 0.7064 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.6742, allocations: 7.938 kB / 0.7065 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.6742, allocations: 4 kB / 0.7065 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.517e-05/0.6743, allocations: 95.27 kB / 0.7065 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6743, allocations: 0 / 0.7065 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002463/0.6746, allocations: 15.91 kB / 0.7066 GB, free: 1.324 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.0001791/0.6747, allocations: 107.2 kB / 0.7067 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004871/0.6752, allocations: 91.92 kB / 0.7068 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6752, allocations: 0 / 0.7068 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.6754, allocations: 47.95 kB / 0.7068 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.6758, allocations: 15.94 kB / 0.7068 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004658/0.6763, allocations: 180.9 kB / 0.707 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.6767, allocations: 0.6848 MB / 0.7077 GB, free: 144 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.637e-05/0.6767, allocations: 0 / 0.7077 GB, free: 144 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.6768, allocations: 11.44 kB / 0.7077 GB, free: 132 kB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.6768, allocations: 3.938 kB / 0.7077 GB, free: 128 kB / 0.5294 GB Notification: Performance of Templates: time 0.003953/0.6807, allocations: 0.8459 MB / 0.7085 GB, free: 15.29 MB / 0.545 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)