Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_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.006069/0.006069, allocations: 102.2 kB / 15.73 MB, free: 6.066 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.00128/0.00128, allocations: 191.4 kB / 16.67 MB, free: 5.973 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002506/0.002505, allocations: 282.2 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.196/1.196, allocations: 178.6 MB / 0.5074 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002654/0.002654, allocations: 103.8 kB / 0.6943 GB, free: 15.23 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.441, allocations: 89.13 MB / 0.7813 GB, free: 1.141 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00282/0.4439, allocations: 1.676 MB / 0.783 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1759/0.6198, allocations: 149.7 MB / 0.9292 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.62, allocations: 0 / 0.9292 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.6203, allocations: 31.73 kB / 0.9292 GB, free: 0.7812 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.6206, allocations: 47.64 kB / 0.9292 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.6211, allocations: 183.3 kB / 0.9294 GB, free: 0.5547 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.6213, allocations: 163.5 kB / 0.9296 GB, free: 404 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.6214, allocations: 25.11 kB / 0.9296 GB, free: 380 kB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.6227, allocations: 183.6 kB / 0.9298 GB, free: 220 kB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.6229, allocations: 63.73 kB / 0.9298 GB, free: 156 kB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.6229, allocations: 8 kB / 0.9298 GB, free: 148 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003446/0.6232, allocations: 167.7 kB / 0.93 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.6233, allocations: 23.91 kB / 0.93 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 7.155e-05/0.6234, allocations: 51.73 kB / 0.9301 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.6238, allocations: 201.7 kB / 0.9303 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.6238, allocations: 0 / 0.9303 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6238, allocations: 0 / 0.9303 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.6238, allocations: 4 kB / 0.9303 GB, free: 15.71 MB / 0.7012 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.0009137/0.6247, allocations: 474.6 kB / 0.9307 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.6248, allocations: 8.031 kB / 0.9307 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/0.6248, allocations: 50.67 kB / 0.9308 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005991/0.6254, allocations: 56.55 kB / 0.9308 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.6257, allocations: 208.8 kB / 0.931 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.6257, allocations: 15.92 kB / 0.931 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.6258, allocations: 8 kB / 0.931 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/0.6262, allocations: 184.4 kB / 0.9312 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.6262, allocations: 0 / 0.9312 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.6263, allocations: 4 kB / 0.9312 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.6263, allocations: 0 / 0.9312 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00051/0.6268, allocations: 155.7 kB / 0.9314 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.6279, allocations: 0.813 MB / 0.9322 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.6284, allocations: 130.5 kB / 0.9323 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.6286, allocations: 84.78 kB / 0.9324 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.6287, allocations: 0 / 0.9324 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.6287, allocations: 42.5 kB / 0.9324 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.6287, allocations: 0 / 0.9324 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of matching and sorting (n=8): time 0.001942/0.6307, allocations: 455.3 kB / 0.9328 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.6307, allocations: 63.34 kB / 0.9329 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.6309, allocations: 148.3 kB / 0.9331 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.6309, allocations: 29.69 kB / 0.9331 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 8.851e-05/0.631, allocations: 116.3 kB / 0.9332 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.631, allocations: 27.73 kB / 0.9332 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-05/0.6311, allocations: 33.7 kB / 0.9332 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.6313, allocations: 318.8 kB / 0.9336 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.6315, allocations: 67.94 kB / 0.9336 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.6318, allocations: 112.2 kB / 0.9337 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/0.6323, allocations: 176.4 kB / 0.9339 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.6323, allocations: 3.984 kB / 0.9339 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001039/0.6334, allocations: 278.1 kB / 0.9342 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.6334, allocations: 16.06 kB / 0.9342 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.6334, allocations: 0 / 0.9342 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005833/0.634, allocations: 84.77 kB / 0.9343 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.6342, allocations: 39.89 kB / 0.9343 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.6364, allocations: 1.657 MB / 0.9359 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.6367, allocations: 27.88 kB / 0.9359 GB, free: 9.414 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.6367, allocations: 11.92 kB / 0.936 GB, free: 9.402 MB / 0.7012 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.0001109/0.6368, allocations: 121.8 kB / 0.9361 GB, free: 9.273 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.6369, allocations: 16.02 kB / 0.9361 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.638, allocations: 310.8 kB / 0.9364 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.638, allocations: 4 kB / 0.9364 GB, free: 8.945 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.638, allocations: 4 kB / 0.9364 GB, free: 8.941 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.638, allocations: 0 / 0.9364 GB, free: 8.941 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.6383, allocations: 233.5 kB / 0.9366 GB, free: 8.664 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6383, allocations: 0 / 0.9366 GB, free: 8.664 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.6385, allocations: 31.91 kB / 0.9366 GB, free: 8.633 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004497/0.6389, allocations: 76.77 kB / 0.9367 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.639, allocations: 7.938 kB / 0.9367 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.6409, allocations: 1.682 MB / 0.9384 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6409, allocations: 0 / 0.9384 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.642, allocations: 380.1 kB / 0.9387 GB, free: 6.324 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 9.923e-05/0.6421, allocations: 108.9 kB / 0.9388 GB, free: 6.199 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.6421, allocations: 0 / 0.9388 GB, free: 6.199 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.6424, allocations: 27.97 kB / 0.9389 GB, free: 6.172 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/0.6425, allocations: 23.92 kB / 0.9389 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.6425, allocations: 4 kB / 0.9389 GB, free: 6.145 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 8.914e-05/0.6426, allocations: 110.1 kB / 0.939 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6426, allocations: 0 / 0.939 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003506/0.6429, allocations: 47.94 kB / 0.939 GB, free: 5.992 MB / 0.7012 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.001475/0.6444, allocations: 0.9277 MB / 0.9399 GB, free: 5.035 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009378/0.6454, allocations: 310.7 kB / 0.9402 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6454, allocations: 0 / 0.9402 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005437/0.6459, allocations: 229.5 kB / 0.9405 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.6463, allocations: 24.14 kB / 0.9405 GB, free: 4.461 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/0.6503, allocations: 2.064 MB / 0.9425 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.6506, allocations: 0.7124 MB / 0.9432 GB, free: 1.551 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001405/0.6508, allocations: 24.88 kB / 0.9432 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.881e-05/0.6508, allocations: 31.42 kB / 0.9432 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of SimCode: time 9.31e-07/0.6509, allocations: 4 kB / 0.9432 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.6826, allocations: 4.758 MB / 0.9479 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.27, allocations: 16.75 kB / 0.9479 GB, free: 12.93 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)