Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 119.3 kB / 17.09 MB, free: 6 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.001083/0.001083, allocations: 192.7 kB / 18.02 MB, free: 5.082 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.307/1.307, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.727/0.727, allocations: 115.3 MB / 407.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 66.89 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1487, allocations: 76.17 MB / 0.6327 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003775/0.1525, allocations: 1.659 MB / 0.6343 GB, free: 2.762 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.5071/0.6596, allocations: 149.7 MB / 0.7805 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.6597, allocations: 1.062 kB / 0.7805 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.6599, allocations: 25.81 kB / 0.7805 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.6602, allocations: 49.16 kB / 0.7806 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.6607, allocations: 189.5 kB / 0.7808 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.6609, allocations: 160.5 kB / 0.7809 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.661, allocations: 39.55 kB / 0.781 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.6621, allocations: 189.5 kB / 0.7811 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.6622, allocations: 65.38 kB / 0.7812 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.6623, allocations: 9.344 kB / 0.7812 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000299/0.6626, allocations: 161.7 kB / 0.7814 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.036e-05/0.6626, allocations: 32.83 kB / 0.7814 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.43e-05/0.6627, allocations: 52.97 kB / 0.7815 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.663, allocations: 198.4 kB / 0.7816 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.663, allocations: 3.188 kB / 0.7816 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6631, allocations: 0 / 0.7816 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.6631, allocations: 0 / 0.7816 GB, free: 14.52 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008772/0.6639, allocations: 480.8 kB / 0.7821 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.664, allocations: 10.34 kB / 0.7821 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006/0.6646, allocations: 52.16 kB / 0.7822 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.6648, allocations: 209.9 kB / 0.7824 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.6648, allocations: 2.938 kB / 0.7824 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.6649, allocations: 9.156 kB / 0.7824 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.6653, allocations: 187 kB / 0.7826 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.6653, allocations: 0.9688 kB / 0.7826 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.6654, allocations: 4.688 kB / 0.7826 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.6654, allocations: 2.219 kB / 0.7826 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004795/0.6658, allocations: 141.8 kB / 0.7827 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.6669, allocations: 0.8294 MB / 0.7835 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.6673, allocations: 126.4 kB / 0.7836 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.6676, allocations: 88.61 kB / 0.7837 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.6676, allocations: 1.438 kB / 0.7837 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.6676, allocations: 33.48 kB / 0.7837 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.6677, allocations: 0 / 0.7837 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.001883/0.6695, allocations: 458.8 kB / 0.7842 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.6696, allocations: 60.69 kB / 0.7842 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.6697, allocations: 155.8 kB / 0.7844 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.6698, allocations: 26.89 kB / 0.7844 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.6698, allocations: 108.1 kB / 0.7845 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.6699, allocations: 30.03 kB / 0.7845 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.558e-05/0.6699, allocations: 32.33 kB / 0.7846 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.67, allocations: 323.9 kB / 0.7849 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.6703, allocations: 70.84 kB / 0.785 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.6706, allocations: 102.5 kB / 0.785 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/0.6711, allocations: 180 kB / 0.7852 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6711, allocations: 4.875 kB / 0.7852 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001038/0.6721, allocations: 276.6 kB / 0.7855 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.6722, allocations: 7.109 kB / 0.7855 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.6722, allocations: 5.281 kB / 0.7855 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005932/0.6728, allocations: 85.95 kB / 0.7856 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.673, allocations: 34.61 kB / 0.7856 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.675, allocations: 1.656 MB / 0.7872 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.6752, allocations: 30.75 kB / 0.7873 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.6753, allocations: 5.484 kB / 0.7873 GB, free: 10.67 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.6754, allocations: 126.2 kB / 0.7874 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.6755, allocations: 11.08 kB / 0.7874 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.6765, allocations: 309.8 kB / 0.7877 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.6765, allocations: 11.88 kB / 0.7877 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.6765, allocations: 4 kB / 0.7877 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.6765, allocations: 2.484 kB / 0.7877 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.6768, allocations: 248.5 kB / 0.7879 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6768, allocations: 0 / 0.7879 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.677, allocations: 34.8 kB / 0.788 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004197/0.6774, allocations: 71.09 kB / 0.788 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.6774, allocations: 7.422 kB / 0.7881 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.6792, allocations: 1.672 MB / 0.7897 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6792, allocations: 1.812 kB / 0.7897 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.6802, allocations: 382.6 kB / 0.7901 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.44e-05/0.6804, allocations: 113.1 kB / 0.7902 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.6804, allocations: 3.969 kB / 0.7902 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.6806, allocations: 15.75 kB / 0.7902 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.6807, allocations: 20.47 kB / 0.7902 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.6807, allocations: 3.188 kB / 0.7902 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.227e-05/0.6808, allocations: 119.6 kB / 0.7903 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6808, allocations: 5.203 kB / 0.7903 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003392/0.6811, allocations: 46.69 kB / 0.7904 GB, free: 8.508 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001716/0.6813, allocations: 112.6 kB / 0.7905 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008677/0.6822, allocations: 307.4 kB / 0.7908 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6822, allocations: 0 / 0.7908 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005258/0.6827, allocations: 239.7 kB / 0.791 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.6831, allocations: 23.02 kB / 0.791 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000887/0.684, allocations: 339.8 kB / 0.7913 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.6842, allocations: 0.7094 MB / 0.792 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.242e-05/0.6843, allocations: 23.5 kB / 0.7921 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.6843, allocations: 2.234 kB / 0.7921 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of Templates: time 0.004975/0.6893, allocations: 2.729 MB / 0.7947 GB, free: 7.086 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)