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.001217/0.001217, allocations: 102.9 kB / 16.27 MB, free: 5.977 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.001323/0.001324, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.377/1.377, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.787/0.787, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.89 kB / 0.4912 GB, free: 7.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.4151, allocations: 77.92 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003033/0.4182, allocations: 1.651 MB / 0.5689 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1673/0.5856, allocations: 149.7 MB / 0.7151 GB, free: 2.973 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.5858, allocations: 0 / 0.7151 GB, free: 2.973 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.5861, allocations: 31.67 kB / 0.7151 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003672/0.5865, allocations: 47.64 kB / 0.7152 GB, free: 2.895 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006413/0.5871, allocations: 187.3 kB / 0.7153 GB, free: 2.711 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.5875, allocations: 159.5 kB / 0.7155 GB, free: 2.555 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.5876, allocations: 31.34 kB / 0.7155 GB, free: 2.527 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.5891, allocations: 194.6 kB / 0.7157 GB, free: 2.363 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.5893, allocations: 59.75 kB / 0.7158 GB, free: 2.305 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.934e-05/0.5893, allocations: 8 kB / 0.7158 GB, free: 2.297 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003715/0.5897, allocations: 163.8 kB / 0.7159 GB, free: 2.137 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.024e-05/0.5898, allocations: 27.84 kB / 0.716 GB, free: 2.109 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.722e-05/0.5899, allocations: 59.66 kB / 0.716 GB, free: 2.051 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004669/0.5903, allocations: 195.5 kB / 0.7162 GB, free: 1.859 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.5904, allocations: 0 / 0.7162 GB, free: 1.859 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5904, allocations: 0 / 0.7162 GB, free: 1.859 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.5904, allocations: 4 kB / 0.7162 GB, free: 1.855 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.0009398/0.5913, allocations: 470.8 kB / 0.7167 GB, free: 1.348 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.5914, allocations: 12.62 kB / 0.7167 GB, free: 1.336 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.331e-05/0.5914, allocations: 42.73 kB / 0.7167 GB, free: 1.285 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006543/0.5921, allocations: 60.53 kB / 0.7168 GB, free: 1.227 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.5923, allocations: 202.7 kB / 0.717 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.5924, allocations: 8 kB / 0.717 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.5924, allocations: 4 kB / 0.717 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000451/0.5928, allocations: 183.4 kB / 0.7171 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.5929, allocations: 0 / 0.7171 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.5929, allocations: 4 kB / 0.7171 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.5929, allocations: 7.938 kB / 0.7172 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005076/0.5934, allocations: 147.7 kB / 0.7173 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.5946, allocations: 0.8244 MB / 0.7181 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/0.595, allocations: 130.5 kB / 0.7182 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/0.5953, allocations: 84.78 kB / 0.7183 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.5953, allocations: 4 kB / 0.7183 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.5953, allocations: 30.56 kB / 0.7183 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.5953, allocations: 3.938 kB / 0.7183 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001891/0.5972, allocations: 463.3 kB / 0.7188 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.5973, allocations: 55.34 kB / 0.7188 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.5974, allocations: 146.9 kB / 0.719 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.5974, allocations: 29.7 kB / 0.719 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.5975, allocations: 112.2 kB / 0.7191 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.5975, allocations: 27.64 kB / 0.7191 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-05/0.5976, allocations: 29.7 kB / 0.7192 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.5977, allocations: 322.8 kB / 0.7195 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.598, allocations: 67.94 kB / 0.7195 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.5983, allocations: 108.2 kB / 0.7196 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005005/0.5988, allocations: 180.1 kB / 0.7198 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5988, allocations: 0 / 0.7198 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001046/0.5998, allocations: 282.3 kB / 0.7201 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.5999, allocations: 15.92 kB / 0.7201 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.5999, allocations: 0 / 0.7201 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000615/0.6005, allocations: 80.89 kB / 0.7202 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.6007, allocations: 31.97 kB / 0.7202 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.6032, allocations: 1.674 MB / 0.7218 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.6034, allocations: 23.98 kB / 0.7219 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.6035, allocations: 15.92 kB / 0.7219 GB, free: 11.57 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.0001362/0.6036, allocations: 117.8 kB / 0.722 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/0.6037, allocations: 11.81 kB / 0.722 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.6047, allocations: 314.9 kB / 0.7223 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.6048, allocations: 0 / 0.7223 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.6048, allocations: 0 / 0.7223 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.6048, allocations: 0 / 0.7223 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.6051, allocations: 241.4 kB / 0.7225 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.6051, allocations: 0 / 0.7225 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.6053, allocations: 31.97 kB / 0.7226 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004216/0.6057, allocations: 76.77 kB / 0.7226 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.6058, allocations: 7.938 kB / 0.7226 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/0.6076, allocations: 1.693 MB / 0.7243 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6077, allocations: 0 / 0.7243 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.6087, allocations: 380.1 kB / 0.7247 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.6088, allocations: 108.8 kB / 0.7248 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.6089, allocations: 4 kB / 0.7248 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.6091, allocations: 19.91 kB / 0.7248 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.6092, allocations: 15.98 kB / 0.7248 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.6093, allocations: 8.062 kB / 0.7248 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001183/0.6094, allocations: 114.3 kB / 0.7249 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6094, allocations: 0 / 0.7249 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003802/0.6098, allocations: 48 kB / 0.725 GB, free: 8.152 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.001442/0.6112, allocations: 0.9195 MB / 0.7259 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009032/0.6121, allocations: 310.6 kB / 0.7262 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.6121, allocations: 0 / 0.7262 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005262/0.6127, allocations: 238.5 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.0003312/0.613, allocations: 27.92 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.003878/0.6169, allocations: 2.056 MB / 0.7284 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.6172, allocations: 0.7085 MB / 0.7291 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001676/0.6174, allocations: 29.02 kB / 0.7291 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.561e-05/0.6175, allocations: 39.42 kB / 0.7292 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.6175, allocations: 0 / 0.7292 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.6483, allocations: 4.646 MB / 0.7337 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.08, allocations: 6.266 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)