Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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_TDryBulPhi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.00113/0.00113, 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.001423/0.001423, allocations: 195.4 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.51/1.51, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.721/1.721, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.00141/0.00141, allocations: 74.2 kB / 0.6716 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2314, allocations: 114.6 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003076/0.2345, allocations: 1.905 MB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6362/0.8708, allocations: 155.4 MB / 0.9371 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.871, allocations: 5 kB / 0.9371 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.8713, allocations: 27.38 kB / 0.9371 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.8716, allocations: 69.58 kB / 0.9372 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000705/0.8723, allocations: 267.6 kB / 0.9374 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.8725, allocations: 254.5 kB / 0.9377 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.8727, allocations: 67.92 kB / 0.9377 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.8739, allocations: 237.3 kB / 0.938 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.874, allocations: 92.56 kB / 0.938 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.8741, allocations: 15.34 kB / 0.9381 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003316/0.8744, allocations: 182.1 kB / 0.9382 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.536e-05/0.8745, allocations: 43.89 kB / 0.9383 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.669e-05/0.8746, allocations: 96.34 kB / 0.9384 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.8749, allocations: 268.3 kB / 0.9386 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.8749, allocations: 1.203 kB / 0.9386 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8749, allocations: 0 / 0.9386 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.8749, allocations: 2.016 kB / 0.9386 GB, free: 2.219 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009679/0.8759, allocations: 0.5057 MB / 0.9391 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.876, allocations: 9.031 kB / 0.9391 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.436e-05/0.876, allocations: 54.28 kB / 0.9392 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008257/0.8769, allocations: 83.66 kB / 0.9393 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.8771, allocations: 228.6 kB / 0.9395 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.012e-05/0.8772, allocations: 42.14 kB / 0.9395 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.8772, allocations: 14.19 kB / 0.9395 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/0.8777, allocations: 262.9 kB / 0.9398 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.8777, allocations: 0.5938 kB / 0.9398 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.8777, allocations: 8.766 kB / 0.9398 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.8778, allocations: 3.938 kB / 0.9398 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/0.8782, allocations: 170.4 kB / 0.94 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.8797, allocations: 1.17 MB / 0.9411 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007397/0.8804, allocations: 202.5 kB / 0.9413 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.8806, allocations: 74.7 kB / 0.9414 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.8807, allocations: 2.656 kB / 0.9414 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.8807, allocations: 37.66 kB / 0.9414 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.8807, allocations: 0 / 0.9414 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.002694/0.8834, allocations: 0.6257 MB / 0.942 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.8835, allocations: 56.75 kB / 0.9421 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.8837, allocations: 206 kB / 0.9423 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.8838, allocations: 26.77 kB / 0.9423 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.8839, allocations: 136.6 kB / 0.9424 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.8839, allocations: 41.59 kB / 0.9425 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-05/0.884, allocations: 47.41 kB / 0.9425 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.8841, allocations: 329.3 kB / 0.9428 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.8844, allocations: 77.58 kB / 0.9429 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.8847, allocations: 125.8 kB / 0.943 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/0.8851, allocations: 210.9 kB / 0.9432 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.8851, allocations: 1.094 kB / 0.9432 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001416/0.8865, allocations: 364.4 kB / 0.9436 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.8866, allocations: 6.594 kB / 0.9436 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.8866, allocations: 5.266 kB / 0.9436 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.8876, allocations: 164.6 kB / 0.9437 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.8879, allocations: 41.56 kB / 0.9438 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003786/0.8917, allocations: 3.254 MB / 0.9469 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/0.8921, allocations: 37.47 kB / 0.947 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.8921, allocations: 14.39 kB / 0.947 GB, free: 12.41 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.8922, allocations: 125.6 kB / 0.9471 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.616e-05/0.8923, allocations: 22.14 kB / 0.9471 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.8936, allocations: 373.3 kB / 0.9475 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.8936, allocations: 2.219 kB / 0.9475 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.8937, allocations: 0 / 0.9475 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.8937, allocations: 7.641 kB / 0.9475 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.894, allocations: 268.2 kB / 0.9478 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.894, allocations: 1.984 kB / 0.9478 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.8942, allocations: 29.17 kB / 0.9478 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008231/0.895, allocations: 138.7 kB / 0.9479 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.895, allocations: 3.094 kB / 0.9479 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003705/0.8987, allocations: 3.303 MB / 0.9511 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.8987, allocations: 4.562 kB / 0.9512 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.9002, allocations: 430.2 kB / 0.9516 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.9003, allocations: 102.6 kB / 0.9517 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.9004, allocations: 11.73 kB / 0.9517 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.9006, allocations: 16.77 kB / 0.9517 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.9007, allocations: 22.53 kB / 0.9517 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.9008, allocations: 7.438 kB / 0.9517 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001904/0.901, allocations: 150.6 kB / 0.9519 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.901, allocations: 0 / 0.9519 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004896/0.9015, allocations: 80.69 kB / 0.9519 GB, free: 8.805 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001556/0.903, allocations: 0.9831 MB / 0.9529 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.904, allocations: 457.9 kB / 0.9533 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.9041, allocations: 1.25 kB / 0.9533 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006412/0.9047, allocations: 359 kB / 0.9537 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.9051, allocations: 57.89 kB / 0.9537 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004719/0.9099, allocations: 2.509 MB / 0.9562 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.9102, allocations: 0.7334 MB / 0.9569 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002233/0.9104, allocations: 36.77 kB / 0.9569 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.958e-05/0.9105, allocations: 56.7 kB / 0.957 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of SimCode: time 7.11e-07/0.9105, allocations: 0 / 0.957 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/0.9458, allocations: 7.177 MB / 0.964 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.76, allocations: 12.45 kB / 0.964 GB, free: 4.699 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)