Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_8_Buildings_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.001033/0.001033, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 193.4 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.1 MB / 222.5 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.744/1.744, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 74.17 kB / 0.6718 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2265, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002952/0.2295, allocations: 1.695 MB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5957/0.8252, allocations: 149.6 MB / 0.9314 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.8253, allocations: 1.406 kB / 0.9314 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.8255, allocations: 24.23 kB / 0.9314 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.8258, allocations: 51.69 kB / 0.9315 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004401/0.8263, allocations: 182.7 kB / 0.9317 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.8265, allocations: 156 kB / 0.9318 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.8266, allocations: 30.55 kB / 0.9318 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.8277, allocations: 191 kB / 0.932 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.8279, allocations: 61.97 kB / 0.9321 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.8279, allocations: 8.75 kB / 0.9321 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000294/0.8282, allocations: 164 kB / 0.9322 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.16e-05/0.8283, allocations: 29.17 kB / 0.9323 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.435e-05/0.8283, allocations: 52.42 kB / 0.9323 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.8287, allocations: 190.3 kB / 0.9325 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.8287, allocations: 0 / 0.9325 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.273e-06/0.8287, allocations: 0 / 0.9325 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.8287, allocations: 0 / 0.9325 GB, free: 2.867 MB / 0.7169 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.0009851/0.8297, allocations: 460.2 kB / 0.9329 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.8298, allocations: 11.72 kB / 0.933 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.721e-05/0.8298, allocations: 43.56 kB / 0.933 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006013/0.8304, allocations: 52.94 kB / 0.933 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.8307, allocations: 208.4 kB / 0.9332 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.8307, allocations: 7.219 kB / 0.9333 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.8307, allocations: 5.656 kB / 0.9333 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.8312, allocations: 191.2 kB / 0.9334 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.8312, allocations: 0 / 0.9334 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.8312, allocations: 6.969 kB / 0.9334 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.8312, allocations: 2.594 kB / 0.9334 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.8317, allocations: 148.1 kB / 0.9336 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.8328, allocations: 0.8185 MB / 0.9344 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.8331, allocations: 136.3 kB / 0.9345 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.8334, allocations: 79.88 kB / 0.9346 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.8334, allocations: 2.625 kB / 0.9346 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.8335, allocations: 38.25 kB / 0.9346 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 2.795e-06/0.8335, allocations: 0 / 0.9346 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.00188/0.8354, allocations: 465.2 kB / 0.9351 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.8354, allocations: 51.41 kB / 0.9351 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.8356, allocations: 145.6 kB / 0.9353 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.8356, allocations: 30.11 kB / 0.9353 GB, free: 17 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.8357, allocations: 110 kB / 0.9354 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.8357, allocations: 26.42 kB / 0.9354 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.921e-05/0.8358, allocations: 36.19 kB / 0.9355 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.8359, allocations: 323.8 kB / 0.9358 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.8361, allocations: 69.28 kB / 0.9358 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.8364, allocations: 104.8 kB / 0.9359 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.8369, allocations: 181.1 kB / 0.9361 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8369, allocations: 0 / 0.9361 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001012/0.8379, allocations: 284.6 kB / 0.9364 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.8379, allocations: 7.719 kB / 0.9364 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.8379, allocations: 2.188 kB / 0.9364 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005879/0.8385, allocations: 84.38 kB / 0.9365 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.8387, allocations: 34.64 kB / 0.9365 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.841, allocations: 1.66 MB / 0.9381 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.8413, allocations: 18.91 kB / 0.9381 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.8413, allocations: 9.766 kB / 0.9382 GB, free: 14.98 MB / 0.7325 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.0001497/0.8415, allocations: 130.7 kB / 0.9383 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.8415, allocations: 13.12 kB / 0.9383 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.8426, allocations: 310.8 kB / 0.9386 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.8426, allocations: 6.031 kB / 0.9386 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.8426, allocations: 0 / 0.9386 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.8427, allocations: 0 / 0.9386 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.8429, allocations: 230 kB / 0.9388 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.8429, allocations: 5.031 kB / 0.9388 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.8431, allocations: 33.23 kB / 0.9388 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004127/0.8436, allocations: 76.31 kB / 0.9389 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.8436, allocations: 14.67 kB / 0.9389 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/0.8454, allocations: 1.679 MB / 0.9406 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.8454, allocations: 0 / 0.9406 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009969/0.8464, allocations: 382.8 kB / 0.9409 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.8465, allocations: 84.98 kB / 0.941 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.8465, allocations: 5.562 kB / 0.941 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.8468, allocations: 22.34 kB / 0.941 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.8468, allocations: 15.17 kB / 0.9411 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.8468, allocations: 5.781 kB / 0.9411 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.062e-05/0.8469, allocations: 106 kB / 0.9412 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8469, allocations: 0 / 0.9412 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003919/0.8473, allocations: 43.94 kB / 0.9412 GB, free: 12.84 MB / 0.7325 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.001588/0.8489, allocations: 0.9261 MB / 0.9421 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009363/0.8499, allocations: 310.5 kB / 0.9424 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8499, allocations: 0 / 0.9424 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000561/0.8504, allocations: 230.2 kB / 0.9426 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.8508, allocations: 26.56 kB / 0.9427 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00424/0.8551, allocations: 2.06 MB / 0.9447 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.8555, allocations: 0.7093 MB / 0.9454 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001695/0.8557, allocations: 29.61 kB / 0.9454 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.669e-05/0.8558, allocations: 33.83 kB / 0.9454 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.8558, allocations: 1.734 kB / 0.9454 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04127/0.897, allocations: 4.694 MB / 0.95 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/12.09, allocations: 16.86 kB / 0.95 GB, free: 9.309 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)