Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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_TDryBulPhi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildingSystems_BuildingSystems_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.001288/0.001288, 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.001477/0.001477, allocations: 195 kB / 16.53 MB, free: 6.664 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002187/0.002187, allocations: 286.7 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9592/0.9592, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 113.2 kB / 0.5953 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1459, allocations: 86.97 MB / 0.6803 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003558/0.1495, allocations: 1.908 MB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4559/0.6055, allocations: 155.4 MB / 0.8339 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.6057, allocations: 2.656 kB / 0.8339 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.6059, allocations: 31.03 kB / 0.834 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.6062, allocations: 73.84 kB / 0.834 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000708/0.6069, allocations: 256.7 kB / 0.8343 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.6072, allocations: 268.4 kB / 0.8345 GB, free: 472 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.6074, allocations: 66.03 kB / 0.8346 GB, free: 468 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.6086, allocations: 243 kB / 0.8348 GB, free: 436 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.6087, allocations: 96.06 kB / 0.8349 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.6087, allocations: 14.41 kB / 0.8349 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003565/0.6091, allocations: 179.3 kB / 0.8351 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.935e-05/0.6092, allocations: 44.92 kB / 0.8351 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.146e-05/0.6093, allocations: 94.09 kB / 0.8352 GB, free: 368 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.6097, allocations: 273.8 kB / 0.8355 GB, free: 328 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6097, allocations: 0 / 0.8355 GB, free: 328 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6097, allocations: 1.719 kB / 0.8355 GB, free: 328 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.6097, allocations: 0 / 0.8355 GB, free: 328 kB / 0.5606 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.0009039/0.6106, allocations: 0.528 MB / 0.836 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.6107, allocations: 10.12 kB / 0.836 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.014e-05/0.6107, allocations: 54.95 kB / 0.8361 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007997/0.6115, allocations: 79.55 kB / 0.8361 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.6118, allocations: 230.8 kB / 0.8364 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.277e-05/0.6118, allocations: 45.41 kB / 0.8364 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.6119, allocations: 17.03 kB / 0.8364 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/0.6123, allocations: 265.1 kB / 0.8367 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.6124, allocations: 1.25 kB / 0.8367 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.6124, allocations: 9.219 kB / 0.8367 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.6124, allocations: 4.812 kB / 0.8367 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004181/0.6128, allocations: 170.1 kB / 0.8369 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.6144, allocations: 1.181 MB / 0.838 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007053/0.6151, allocations: 209.8 kB / 0.8382 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.6152, allocations: 71.5 kB / 0.8383 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.6153, allocations: 1.219 kB / 0.8383 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.6153, allocations: 35.69 kB / 0.8383 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.6153, allocations: 0 / 0.8383 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.002547/0.6179, allocations: 0.6337 MB / 0.8389 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.6179, allocations: 52.59 kB / 0.839 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.6182, allocations: 215.1 kB / 0.8392 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.6182, allocations: 30.67 kB / 0.8392 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.6183, allocations: 141.5 kB / 0.8393 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.6183, allocations: 43 kB / 0.8394 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.704e-05/0.6184, allocations: 48.88 kB / 0.8394 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.6185, allocations: 329.5 kB / 0.8397 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.6187, allocations: 72.69 kB / 0.8398 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.619, allocations: 128.5 kB / 0.8399 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.6194, allocations: 203.2 kB / 0.8401 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.6194, allocations: 0.9062 kB / 0.8401 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001377/0.6208, allocations: 368 kB / 0.8405 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.6208, allocations: 6 kB / 0.8405 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.6208, allocations: 3.094 kB / 0.8405 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.6219, allocations: 162.6 kB / 0.8407 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.6221, allocations: 39.23 kB / 0.8407 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003814/0.6259, allocations: 3.254 MB / 0.8439 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.6263, allocations: 40.05 kB / 0.8439 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.6264, allocations: 8.562 kB / 0.8439 GB, free: 10.48 MB / 0.5762 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.0001548/0.6265, allocations: 137.2 kB / 0.844 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.243e-05/0.6266, allocations: 18.83 kB / 0.8441 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.6279, allocations: 373.9 kB / 0.8444 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.628, allocations: 1.375 kB / 0.8444 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.628, allocations: 1.188 kB / 0.8444 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.628, allocations: 0 / 0.8444 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003504/0.6283, allocations: 293.4 kB / 0.8447 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.6283, allocations: 0 / 0.8447 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.6285, allocations: 20.23 kB / 0.8447 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008034/0.6293, allocations: 141.5 kB / 0.8449 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.6293, allocations: 10.58 kB / 0.8449 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003644/0.633, allocations: 3.3 MB / 0.8481 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.633, allocations: 0 / 0.8481 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.6343, allocations: 435.6 kB / 0.8485 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.6344, allocations: 118.2 kB / 0.8486 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.6344, allocations: 5.234 kB / 0.8486 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/0.6347, allocations: 15.61 kB / 0.8486 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.052e-05/0.6348, allocations: 19.39 kB / 0.8487 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.6348, allocations: 15.08 kB / 0.8487 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001741/0.635, allocations: 161.6 kB / 0.8488 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.635, allocations: 0 / 0.8488 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003995/0.6354, allocations: 70.28 kB / 0.8489 GB, free: 6.547 MB / 0.5762 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.001517/0.6369, allocations: 0.9761 MB / 0.8498 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.638, allocations: 451 kB / 0.8503 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.638, allocations: 0 / 0.8503 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006447/0.6386, allocations: 360.4 kB / 0.8506 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.6391, allocations: 60.98 kB / 0.8507 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004571/0.6436, allocations: 2.53 MB / 0.8531 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.6439, allocations: 0.7307 MB / 0.8539 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002009/0.6441, allocations: 37.59 kB / 0.8539 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.081e-05/0.6442, allocations: 64.38 kB / 0.854 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.6442, allocations: 0 / 0.854 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.6747, allocations: 7.2 MB / 0.861 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/11.11, allocations: 7.859 kB / 0.861 GB, free: 14.87 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_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_TDryBulPhi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)