Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 186.6 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4969/0.4969, allocations: 87.5 MB / 104.9 MB, free: 13.04 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 349.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009897/0.0009895, allocations: 102.2 kB / 420 MB, free: 8.516 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 59.92 kB / 0.4891 GB, free: 7.711 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3521, allocations: 70.05 MB / 0.5575 GB, free: 44.78 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003058/0.3552, allocations: 1.938 MB / 0.5594 GB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1567/0.512, allocations: 153.1 MB / 0.7089 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002639/0.5123, allocations: 0 / 0.7089 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.5125, allocations: 15.86 kB / 0.7089 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003877/0.5129, allocations: 55.62 kB / 0.709 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008122/0.5138, allocations: 235.3 kB / 0.7092 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0004134/0.5142, allocations: 247.2 kB / 0.7094 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.5144, allocations: 64.34 kB / 0.7095 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00254/0.517, allocations: 231.4 kB / 0.7097 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.5172, allocations: 79.67 kB / 0.7098 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.5172, allocations: 12 kB / 0.7098 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004405/0.5177, allocations: 179.7 kB / 0.71 GB, free: 500 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 7.472e-05/0.5177, allocations: 39.83 kB / 0.71 GB, free: 460 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.5179, allocations: 87.58 kB / 0.7101 GB, free: 372 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004424/0.5183, allocations: 263.2 kB / 0.7104 GB, free: 108 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.5184, allocations: 0 / 0.7104 GB, free: 108 kB / 0.5105 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5184, allocations: 0 / 0.7104 GB, free: 108 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.5184, allocations: 3.938 kB / 0.7104 GB, free: 104 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.3159/0.8343, allocations: 0.5133 MB / 0.7109 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/0.8344, allocations: 8.938 kB / 0.7109 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.8354, allocations: 81.94 kB / 0.711 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.8358, allocations: 222.7 kB / 0.7112 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-05/0.836, allocations: 38.92 kB / 0.7112 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.86e-05/0.836, allocations: 14.97 kB / 0.7112 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006534/0.8367, allocations: 259.7 kB / 0.7115 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.8367, allocations: 4.844 kB / 0.7115 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.8368, allocations: 10.53 kB / 0.7115 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.8368, allocations: 3.844 kB / 0.7115 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/0.8373, allocations: 171.8 kB / 0.7116 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.8391, allocations: 1.174 MB / 0.7128 GB, free: 154.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008701/0.84, allocations: 217.5 kB / 0.713 GB, free: 154.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.8402, allocations: 72.58 kB / 0.7131 GB, free: 154.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.8403, allocations: 2.312 kB / 0.7131 GB, free: 154.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.8403, allocations: 34.2 kB / 0.7131 GB, free: 154.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 2.023e-06/0.8403, allocations: 0 / 0.7131 GB, free: 154.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12): time 0.002985/0.8433, allocations: 0.623 MB / 0.7137 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.8434, allocations: 53.59 kB / 0.7138 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003482/0.8437, allocations: 205 kB / 0.714 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.8438, allocations: 34.64 kB / 0.714 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.996e-05/0.8439, allocations: 136.2 kB / 0.7141 GB, free: 153.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/0.8439, allocations: 44.03 kB / 0.7142 GB, free: 153.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.8441, allocations: 50.08 kB / 0.7142 GB, free: 153.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.172e-05/0.8442, allocations: 327.6 kB / 0.7145 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.8444, allocations: 72.58 kB / 0.7146 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.8448, allocations: 135.7 kB / 0.7147 GB, free: 153 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005055/0.8453, allocations: 197.3 kB / 0.7149 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.8453, allocations: 0.8438 kB / 0.7149 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001634/0.8469, allocations: 373.2 kB / 0.7153 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.847, allocations: 9.719 kB / 0.7153 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.847, allocations: 2 kB / 0.7153 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.8481, allocations: 168.2 kB / 0.7154 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.8483, allocations: 37.56 kB / 0.7155 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003476/0.8518, allocations: 3.022 MB / 0.7184 GB, free: 149.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/0.8522, allocations: 34.7 kB / 0.7185 GB, free: 149.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.8523, allocations: 15.2 kB / 0.7185 GB, free: 149.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.8524, allocations: 134.2 kB / 0.7186 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/0.8525, allocations: 15.69 kB / 0.7186 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.8539, allocations: 373.7 kB / 0.719 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.8539, allocations: 2.125 kB / 0.719 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.8539, allocations: 0 / 0.719 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.854, allocations: 0.5 kB / 0.719 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.8543, allocations: 275.4 kB / 0.7192 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.8543, allocations: 3.062 kB / 0.7192 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.8545, allocations: 28.23 kB / 0.7193 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/0.8555, allocations: 165.7 kB / 0.7194 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.8555, allocations: 9 kB / 0.7194 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003301/0.8588, allocations: 3.071 MB / 0.7224 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8589, allocations: 0 / 0.7224 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.8607, allocations: 1.083 MB / 0.7235 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.8608, allocations: 108.7 kB / 0.7236 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.8608, allocations: 10.12 kB / 0.7236 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.8611, allocations: 15.88 kB / 0.7236 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-05/0.8612, allocations: 19.8 kB / 0.7236 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.8613, allocations: 7.609 kB / 0.7236 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001624/0.8614, allocations: 145.6 kB / 0.7238 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8614, allocations: 0 / 0.7238 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005692/0.862, allocations: 67.88 kB / 0.7238 GB, free: 144.7 MB / 0.5105 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002146/0.8622, allocations: 122.7 kB / 0.724 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.8633, allocations: 436.1 kB / 0.7244 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.8634, allocations: 5.406 kB / 0.7244 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006241/0.864, allocations: 349.7 kB / 0.7247 GB, free: 144 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.8644, allocations: 66.22 kB / 0.7248 GB, free: 144 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009483/0.8654, allocations: 0.6162 MB / 0.7254 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.8656, allocations: 0.7363 MB / 0.7261 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002148/0.8658, allocations: 39.78 kB / 0.7261 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.313e-05/0.8659, allocations: 27.42 kB / 0.7262 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.8659, allocations: 0 / 0.7262 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.008056/0.874, allocations: 5.129 MB / 0.7312 GB, free: 137.6 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)