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.001052/0.001052, allocations: 107.4 kB / 17.02 MB, free: 5.66 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.0009692/0.0009692, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.31/1.31, 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.7074/0.7074, allocations: 115.1 MB / 406.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.89 kB / 494.8 MB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.331, allocations: 76.14 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002447/0.3334, allocations: 1.65 MB / 0.5592 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1583/0.4918, allocations: 149.7 MB / 0.7054 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.492, allocations: 4 kB / 0.7054 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.4921, allocations: 23.73 kB / 0.7054 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.4925, allocations: 59.56 kB / 0.7054 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005106/0.493, allocations: 187.3 kB / 0.7056 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.4932, allocations: 163.5 kB / 0.7058 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.4934, allocations: 33.09 kB / 0.7058 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.4945, allocations: 184.8 kB / 0.706 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.4947, allocations: 55.77 kB / 0.706 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.4947, allocations: 15.98 kB / 0.7061 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00031/0.495, allocations: 155.8 kB / 0.7062 GB, free: 11.87 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.803e-05/0.4951, allocations: 27.91 kB / 0.7062 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.377e-05/0.4952, allocations: 55.72 kB / 0.7063 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.4955, allocations: 213 kB / 0.7065 GB, free: 11.58 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4955, allocations: 0 / 0.7065 GB, free: 11.58 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4956, allocations: 4 kB / 0.7065 GB, free: 11.58 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.4956, allocations: 0 / 0.7065 GB, free: 11.58 MB / 0.545 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.0008782/0.4965, allocations: 459 kB / 0.7069 GB, free: 11.08 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.4965, allocations: 12.03 kB / 0.7069 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006349/0.4971, allocations: 56.69 kB / 0.707 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.4974, allocations: 209.2 kB / 0.7072 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.4974, allocations: 4 kB / 0.7072 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.4974, allocations: 8 kB / 0.7072 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004391/0.4979, allocations: 187.4 kB / 0.7074 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.4979, allocations: 3.938 kB / 0.7074 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.4979, allocations: 4 kB / 0.7074 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.4979, allocations: 4 kB / 0.7074 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/0.4984, allocations: 139.8 kB / 0.7075 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.4995, allocations: 0.8333 MB / 0.7083 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004078/0.5, allocations: 138.5 kB / 0.7085 GB, free: 9.355 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.5002, allocations: 76.95 kB / 0.7085 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.5002, allocations: 3.984 kB / 0.7085 GB, free: 9.273 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.5003, allocations: 38.56 kB / 0.7086 GB, free: 9.227 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.5003, allocations: 0 / 0.7086 GB, free: 9.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001866/0.5022, allocations: 455.1 kB / 0.709 GB, free: 8.754 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.5022, allocations: 51.41 kB / 0.7091 GB, free: 8.691 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.5024, allocations: 156.2 kB / 0.7092 GB, free: 8.531 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.5024, allocations: 25.7 kB / 0.7092 GB, free: 8.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.5025, allocations: 116.2 kB / 0.7094 GB, free: 8.383 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.5025, allocations: 27.56 kB / 0.7094 GB, free: 8.355 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.974e-05/0.5026, allocations: 33.69 kB / 0.7094 GB, free: 8.316 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.5027, allocations: 314.8 kB / 0.7097 GB, free: 8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.5029, allocations: 71.92 kB / 0.7098 GB, free: 7.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.5032, allocations: 108.2 kB / 0.7099 GB, free: 7.809 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004621/0.5037, allocations: 184.1 kB / 0.7101 GB, free: 7.613 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5037, allocations: 3.938 kB / 0.7101 GB, free: 7.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009996/0.5047, allocations: 282.1 kB / 0.7103 GB, free: 7.324 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5047, allocations: 11.94 kB / 0.7103 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.5047, allocations: 0 / 0.7103 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006021/0.5053, allocations: 84.86 kB / 0.7104 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.5056, allocations: 31.95 kB / 0.7105 GB, free: 7.195 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.5076, allocations: 1.65 MB / 0.7121 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.5079, allocations: 27.83 kB / 0.7121 GB, free: 5.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.5079, allocations: 11.92 kB / 0.7121 GB, free: 5.363 MB / 0.545 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.0001084/0.508, allocations: 121.8 kB / 0.7122 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.5081, allocations: 7.906 kB / 0.7122 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.5091, allocations: 322.4 kB / 0.7125 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5091, allocations: 4 kB / 0.7125 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.5091, allocations: 7.984 kB / 0.7125 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5091, allocations: 0 / 0.7125 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.5094, allocations: 241.4 kB / 0.7128 GB, free: 4.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.5094, allocations: 4 kB / 0.7128 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.5096, allocations: 31.95 kB / 0.7128 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004121/0.51, allocations: 76.72 kB / 0.7129 GB, free: 4.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.51, allocations: 3.938 kB / 0.7129 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/0.5118, allocations: 1.677 MB / 0.7145 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.5118, allocations: 0 / 0.7145 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009817/0.5128, allocations: 380 kB / 0.7149 GB, free: 2.277 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.073e-05/0.5129, allocations: 104.9 kB / 0.715 GB, free: 2.156 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.513, allocations: 0 / 0.715 GB, free: 2.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.5132, allocations: 27.91 kB / 0.715 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.5133, allocations: 11.98 kB / 0.715 GB, free: 2.117 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.5133, allocations: 3.984 kB / 0.715 GB, free: 2.113 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.433e-05/0.5134, allocations: 113.5 kB / 0.7151 GB, free: 2.004 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5134, allocations: 0 / 0.7151 GB, free: 2.004 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003205/0.5137, allocations: 40 kB / 0.7152 GB, free: 1.965 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 (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.0001804/0.5139, allocations: 115.2 kB / 0.7153 GB, free: 1.844 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000872/0.5148, allocations: 318.6 kB / 0.7156 GB, free: 1.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5148, allocations: 3.938 kB / 0.7156 GB, free: 1.516 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005149/0.5153, allocations: 226.5 kB / 0.7158 GB, free: 1.281 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.5156, allocations: 28.59 kB / 0.7158 GB, free: 1.254 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007949/0.5164, allocations: 315.5 kB / 0.7161 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.5167, allocations: 0.7163 MB / 0.7168 GB, free: 176 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000122/0.5169, allocations: 24.86 kB / 0.7169 GB, free: 152 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.674e-05/0.5169, allocations: 23.38 kB / 0.7169 GB, free: 132 kB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5169, allocations: 0 / 0.7169 GB, free: 132 kB / 0.545 GB Notification: Performance of Templates: time 0.006347/0.5233, allocations: 3.217 MB / 0.72 GB, free: 12.95 MB / 0.5606 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)