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: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 101.6 kB / 16.27 MB, free: 5.867 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.001197/0.001197, allocations: 187.1 kB / 17.19 MB, free: 5.512 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.328/1.328, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.739/0.739, allocations: 122.8 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 63.91 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3745, allocations: 77.92 MB / 0.5673 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002644/0.3772, allocations: 1.663 MB / 0.5689 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1543/0.5315, allocations: 149.7 MB / 0.7151 GB, free: 2.969 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.5317, allocations: 7.938 kB / 0.7151 GB, free: 2.961 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001901/0.5319, allocations: 19.8 kB / 0.7151 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.5323, allocations: 59.56 kB / 0.7152 GB, free: 2.883 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006496/0.533, allocations: 183.4 kB / 0.7153 GB, free: 2.703 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.5332, allocations: 163.5 kB / 0.7155 GB, free: 2.543 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.5334, allocations: 27.38 kB / 0.7155 GB, free: 2.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.5348, allocations: 197.9 kB / 0.7157 GB, free: 2.355 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.535, allocations: 67.75 kB / 0.7158 GB, free: 2.289 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.535, allocations: 8 kB / 0.7158 GB, free: 2.281 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003851/0.5354, allocations: 159.8 kB / 0.7159 GB, free: 2.125 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.5355, allocations: 27.91 kB / 0.716 GB, free: 2.098 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.752e-05/0.5356, allocations: 47.73 kB / 0.716 GB, free: 2.051 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004791/0.5361, allocations: 203.4 kB / 0.7162 GB, free: 1.852 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.5361, allocations: 8 kB / 0.7162 GB, free: 1.844 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.963e-06/0.5361, allocations: 0 / 0.7162 GB, free: 1.844 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.5361, allocations: 0 / 0.7162 GB, free: 1.844 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.001069/0.5372, allocations: 466.9 kB / 0.7167 GB, free: 1.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.5373, allocations: 8.625 kB / 0.7167 GB, free: 1.332 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.169e-05/0.5373, allocations: 42.69 kB / 0.7167 GB, free: 1.281 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006466/0.538, allocations: 60.53 kB / 0.7168 GB, free: 1.223 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.5382, allocations: 198.8 kB / 0.717 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.5382, allocations: 12 kB / 0.717 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.5383, allocations: 8 kB / 0.717 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.5387, allocations: 179.5 kB / 0.7171 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.5387, allocations: 0 / 0.7171 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.5388, allocations: 8 kB / 0.7172 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.5388, allocations: 4 kB / 0.7172 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005024/0.5393, allocations: 143.7 kB / 0.7173 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.5405, allocations: 0.8283 MB / 0.7181 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/0.5409, allocations: 126.5 kB / 0.7182 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.5411, allocations: 84.73 kB / 0.7183 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.5412, allocations: 4 kB / 0.7183 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.5412, allocations: 34.5 kB / 0.7183 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.5412, allocations: 0 / 0.7183 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001924/0.5431, allocations: 463.3 kB / 0.7188 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.5432, allocations: 59.34 kB / 0.7188 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.5433, allocations: 152.3 kB / 0.719 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.5434, allocations: 25.7 kB / 0.719 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.5434, allocations: 112.2 kB / 0.7191 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.5435, allocations: 23.66 kB / 0.7191 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-05/0.5435, allocations: 33.69 kB / 0.7192 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.5436, allocations: 326.8 kB / 0.7195 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.5439, allocations: 71.94 kB / 0.7195 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.5442, allocations: 104.2 kB / 0.7196 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004895/0.5447, allocations: 180.1 kB / 0.7198 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5447, allocations: 0 / 0.7198 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001036/0.5457, allocations: 286 kB / 0.7201 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.5457, allocations: 7.938 kB / 0.7201 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.5458, allocations: 4 kB / 0.7201 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006055/0.5464, allocations: 84.89 kB / 0.7202 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.5466, allocations: 35.89 kB / 0.7202 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.5488, allocations: 1.654 MB / 0.7218 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.549, allocations: 19.91 kB / 0.7219 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.5491, allocations: 11.94 kB / 0.7219 GB, free: 11.58 MB / 0.5606 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.000126/0.5492, allocations: 121.8 kB / 0.722 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/0.5493, allocations: 15.8 kB / 0.722 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.5503, allocations: 309.4 kB / 0.7223 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.5504, allocations: 4 kB / 0.7223 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.5504, allocations: 0 / 0.7223 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5504, allocations: 0 / 0.7223 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.5507, allocations: 245.4 kB / 0.7225 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5507, allocations: 4 kB / 0.7225 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.5509, allocations: 35.95 kB / 0.7226 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000454/0.5514, allocations: 72.78 kB / 0.7226 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.5514, allocations: 11.92 kB / 0.7226 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/0.5535, allocations: 1.685 MB / 0.7243 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.5535, allocations: 4.031 kB / 0.7243 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.5545, allocations: 376 kB / 0.7247 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.784e-05/0.5546, allocations: 104.8 kB / 0.7248 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.5547, allocations: 8 kB / 0.7248 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.5549, allocations: 19.92 kB / 0.7248 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.205e-05/0.555, allocations: 11.98 kB / 0.7248 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.555, allocations: 11.92 kB / 0.7248 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.596e-05/0.5551, allocations: 116.7 kB / 0.7249 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5551, allocations: 3.938 kB / 0.7249 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003512/0.5554, allocations: 44 kB / 0.725 GB, free: 8.148 MB / 0.5606 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.001389/0.5568, allocations: 0.9122 MB / 0.7259 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009415/0.5578, allocations: 313.6 kB / 0.7262 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.5578, allocations: 0 / 0.7262 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005428/0.5584, allocations: 238.7 kB / 0.7264 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.5587, allocations: 28.52 kB / 0.7264 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003947/0.5627, allocations: 2.056 MB / 0.7284 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.563, allocations: 0.7124 MB / 0.7291 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001735/0.5632, allocations: 20.89 kB / 0.7291 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.794e-05/0.5633, allocations: 35.41 kB / 0.7292 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/0.5633, allocations: 0 / 0.7292 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/0.59, allocations: 4.656 MB / 0.7337 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/11.16, allocations: 3.984 kB / 0.7337 GB, free: 15.18 MB / 0.5762 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)