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.001524/0.001525, allocations: 108 kB / 15.61 MB, free: 152 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.001991/0.00199, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.504/1.504, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.701/1.701, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001437/0.001437, allocations: 70.7 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2491, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003235/0.2524, allocations: 1.687 MB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6363/0.8888, allocations: 149.6 MB / 0.9313 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.833e-05/0.8889, allocations: 3.062 kB / 0.9313 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.8891, allocations: 27.78 kB / 0.9313 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.8893, allocations: 44.38 kB / 0.9313 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.8898, allocations: 188.6 kB / 0.9315 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000151/0.89, allocations: 161.4 kB / 0.9317 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.8901, allocations: 23.7 kB / 0.9317 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.8911, allocations: 186.3 kB / 0.9319 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.8913, allocations: 61.67 kB / 0.9319 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.8913, allocations: 8.344 kB / 0.9319 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003025/0.8916, allocations: 158.4 kB / 0.9321 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.546e-05/0.8917, allocations: 26.91 kB / 0.9321 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.8917, allocations: 54.03 kB / 0.9322 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.892, allocations: 193.3 kB / 0.9323 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.8921, allocations: 0 / 0.9323 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8921, allocations: 0 / 0.9323 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.8921, allocations: 2.75 kB / 0.9323 GB, free: 2.785 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.0008845/0.893, allocations: 458.8 kB / 0.9328 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.893, allocations: 9.062 kB / 0.9328 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.803e-05/0.8931, allocations: 42.97 kB / 0.9328 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006044/0.8937, allocations: 56.66 kB / 0.9329 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.8939, allocations: 199.3 kB / 0.9331 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.8939, allocations: 3.203 kB / 0.9331 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.894, allocations: 8.719 kB / 0.9331 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004239/0.8944, allocations: 189.4 kB / 0.9333 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.8944, allocations: 0 / 0.9333 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.8944, allocations: 6.156 kB / 0.9333 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.8944, allocations: 0 / 0.9333 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004561/0.8949, allocations: 148.5 kB / 0.9334 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009503/0.8959, allocations: 0.8292 MB / 0.9342 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003624/0.8962, allocations: 137.8 kB / 0.9344 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.8965, allocations: 74.98 kB / 0.9344 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.8965, allocations: 2.625 kB / 0.9344 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.8965, allocations: 40.66 kB / 0.9345 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.8965, allocations: 1.094 kB / 0.9345 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001802/0.8983, allocations: 461.3 kB / 0.9349 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.8984, allocations: 51.41 kB / 0.935 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.693e-05/0.8985, allocations: 153.7 kB / 0.9351 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.8985, allocations: 25.7 kB / 0.9351 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.8986, allocations: 107.3 kB / 0.9352 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.8986, allocations: 23.48 kB / 0.9352 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.8987, allocations: 38.61 kB / 0.9353 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.146e-05/0.8988, allocations: 319.8 kB / 0.9356 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.899, allocations: 69.59 kB / 0.9357 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.8992, allocations: 104.3 kB / 0.9358 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/0.8997, allocations: 177.3 kB / 0.9359 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8997, allocations: 0 / 0.9359 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009594/0.9007, allocations: 281.4 kB / 0.9362 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.9007, allocations: 11.09 kB / 0.9362 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.9007, allocations: 2.062 kB / 0.9362 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005794/0.9013, allocations: 89.77 kB / 0.9363 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.9015, allocations: 33.59 kB / 0.9363 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/0.9037, allocations: 1.664 MB / 0.938 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.904, allocations: 17.28 kB / 0.938 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.904, allocations: 6.062 kB / 0.938 GB, free: 14.9 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.0001452/0.9042, allocations: 130.8 kB / 0.9381 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.9042, allocations: 16.12 kB / 0.9381 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.9053, allocations: 315 kB / 0.9384 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.9054, allocations: 3.766 kB / 0.9384 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.9054, allocations: 192 / 0.9384 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.9054, allocations: 2.672 kB / 0.9384 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.9056, allocations: 232.9 kB / 0.9386 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.9056, allocations: 0 / 0.9386 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.9059, allocations: 30.83 kB / 0.9387 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004165/0.9063, allocations: 75.02 kB / 0.9387 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.9063, allocations: 10.25 kB / 0.9388 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/0.9081, allocations: 1.691 MB / 0.9404 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.9082, allocations: 4.062 kB / 0.9404 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.9092, allocations: 378.7 kB / 0.9408 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.9093, allocations: 89.7 kB / 0.9409 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.9094, allocations: 0 / 0.9409 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.9096, allocations: 22.94 kB / 0.9409 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/0.9097, allocations: 17.89 kB / 0.9409 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.9097, allocations: 4.984 kB / 0.9409 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001139/0.9098, allocations: 105.7 kB / 0.941 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9098, allocations: 1.203 kB / 0.941 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003916/0.9102, allocations: 43.62 kB / 0.941 GB, free: 12.75 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.001375/0.9116, allocations: 0.9272 MB / 0.9419 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009323/0.9125, allocations: 312 kB / 0.9422 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9125, allocations: 0 / 0.9422 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005369/0.9131, allocations: 233.4 kB / 0.9425 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.9134, allocations: 27.94 kB / 0.9425 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/0.9172, allocations: 2.051 MB / 0.9445 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.9175, allocations: 0.7077 MB / 0.9452 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001747/0.9177, allocations: 26.86 kB / 0.9452 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.271e-05/0.9178, allocations: 38.53 kB / 0.9453 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of SimCode: time 1.052e-06/0.9178, allocations: 0 / 0.9453 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.9428, allocations: 4.649 MB / 0.9498 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.69, allocations: 9.234 kB / 0.9498 GB, free: 9.234 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)