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.001058/0.001058, allocations: 107.8 kB / 16.41 MB, free: 6.473 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.001228/0.001228, allocations: 191.9 kB / 17.34 MB, free: 5.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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6897/0.6897, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001166, allocations: 60.98 kB / 0.5577 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1547, allocations: 76.18 MB / 0.6321 GB, free: 4.531 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002689/0.1574, allocations: 1.482 MB / 0.6335 GB, free: 3.035 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.5199/0.6773, allocations: 132.1 MB / 0.7625 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.81e-05/0.6775, allocations: 5.188 kB / 0.7625 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.623e-05/0.6775, allocations: 3.938 kB / 0.7625 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.351e-05/0.6776, allocations: 11.38 kB / 0.7625 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.678, allocations: 68.66 kB / 0.7626 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.6781, allocations: 50.02 kB / 0.7626 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 9.659e-05/0.6782, allocations: 14.95 kB / 0.7626 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.415e-05/0.6783, allocations: 27.27 kB / 0.7626 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.566e-05/0.6783, allocations: 23.52 kB / 0.7627 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.6784, allocations: 4.375 kB / 0.7627 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 9.582e-05/0.6785, allocations: 20.78 kB / 0.7627 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.6785, allocations: 7.906 kB / 0.7627 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.6785, allocations: 26.88 kB / 0.7627 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.6787, allocations: 57.03 kB / 0.7628 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6787, allocations: 0 / 0.7628 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6787, allocations: 0 / 0.7628 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.6787, allocations: 0.8438 kB / 0.7628 GB, free: 15.73 MB / 0.5919 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.0005361/0.6792, allocations: 381 kB / 0.7631 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.6793, allocations: 9.125 kB / 0.7632 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.6793, allocations: 4.688 kB / 0.7632 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.6794, allocations: 170.8 kB / 0.7633 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.6795, allocations: 1.562 kB / 0.7633 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.6795, allocations: 12.91 kB / 0.7633 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.6797, allocations: 81.64 kB / 0.7634 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.6797, allocations: 1.312 kB / 0.7634 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.6798, allocations: 3.938 kB / 0.7634 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.6798, allocations: 1.125 kB / 0.7634 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.68, allocations: 68.89 kB / 0.7635 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.6804, allocations: 288.8 kB / 0.7638 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.6806, allocations: 59.89 kB / 0.7638 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.6808, allocations: 39.5 kB / 0.7639 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/0.6809, allocations: 91.39 kB / 0.7639 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.681, allocations: 34.56 kB / 0.764 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.681, allocations: 0 / 0.764 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005162/0.6815, allocations: 129.1 kB / 0.7641 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.6815, allocations: 52.91 kB / 0.7641 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.713e-05/0.6817, allocations: 126.3 kB / 0.7643 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.6817, allocations: 28.06 kB / 0.7643 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.6817, allocations: 95.12 kB / 0.7644 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.6817, allocations: 5 kB / 0.7644 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.6818, allocations: 15.66 kB / 0.7644 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.6819, allocations: 319.3 kB / 0.7647 GB, free: 14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.6821, allocations: 31.48 kB / 0.7647 GB, free: 14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.6822, allocations: 34.92 kB / 0.7648 GB, free: 14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.6825, allocations: 68.53 kB / 0.7648 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.6825, allocations: 0 / 0.7648 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002901/0.6828, allocations: 99.3 kB / 0.7649 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.6828, allocations: 8.062 kB / 0.7649 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.6828, allocations: 1.094 kB / 0.7649 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.6828, allocations: 3.938 kB / 0.7649 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.6829, allocations: 15.2 kB / 0.765 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.6829, allocations: 0 / 0.765 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.683, allocations: 24.47 kB / 0.765 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.683, allocations: 7.188 kB / 0.765 GB, free: 13.94 MB / 0.5919 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.782e-05/0.6831, allocations: 110.8 kB / 0.7651 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.6831, allocations: 3.156 kB / 0.7651 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003433/0.6835, allocations: 107.9 kB / 0.7652 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.6835, allocations: 384 / 0.7652 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6835, allocations: 1.094 kB / 0.7652 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6835, allocations: 5.625 kB / 0.7652 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.6837, allocations: 172.9 kB / 0.7654 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6837, allocations: 3.984 kB / 0.7654 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.441e-05/0.6838, allocations: 20.11 kB / 0.7654 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.6838, allocations: 0 / 0.7654 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.6838, allocations: 6.844 kB / 0.7654 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.6838, allocations: 0 / 0.7654 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.6838, allocations: 0 / 0.7654 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.6842, allocations: 199.7 kB / 0.7656 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.6842, allocations: 85.28 kB / 0.7657 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.6842, allocations: 2.469 kB / 0.7657 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.6844, allocations: 10.64 kB / 0.7657 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.6844, allocations: 5.297 kB / 0.7657 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.6844, allocations: 4 kB / 0.7657 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.862e-05/0.6845, allocations: 93.66 kB / 0.7658 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.61e-07/0.6845, allocations: 0 / 0.7658 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002212/0.6847, allocations: 23.78 kB / 0.7658 GB, free: 13.25 MB / 0.5919 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.000122/0.6848, allocations: 109.5 kB / 0.7659 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003112/0.6851, allocations: 74.72 kB / 0.766 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6851, allocations: 0 / 0.766 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.6853, allocations: 33.98 kB / 0.766 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.6856, allocations: 17.53 kB / 0.766 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.6859, allocations: 150.7 kB / 0.7662 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.6861, allocations: 0.6857 MB / 0.7668 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.122e-05/0.6861, allocations: 4.656 kB / 0.7668 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.6862, allocations: 9.391 kB / 0.7669 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.6862, allocations: 0 / 0.7669 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of Templates: time 0.002917/0.6891, allocations: 1.005 MB / 0.7678 GB, free: 12.25 MB / 0.5919 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)