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.001251/0.001251, allocations: 108 kB / 15.6 MB, free: 132 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.001251/0.001251, allocations: 197 kB / 16.54 MB, free: 6.672 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00237/0.00237, allocations: 278.9 kB / 290.7 MB, free: 2.027 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9838/0.9838, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002618/0.002618, allocations: 94.7 kB / 0.5953 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1578, allocations: 86.98 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003196/0.161, allocations: 1.915 MB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4439/0.6049, allocations: 155.4 MB / 0.8339 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.6051, allocations: 6.594 kB / 0.8339 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.6053, allocations: 27.17 kB / 0.834 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.6056, allocations: 70.78 kB / 0.834 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006979/0.6063, allocations: 265.5 kB / 0.8343 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.6065, allocations: 262.9 kB / 0.8345 GB, free: 476 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.6067, allocations: 70.62 kB / 0.8346 GB, free: 468 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.608, allocations: 236 kB / 0.8348 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.6081, allocations: 93.56 kB / 0.8349 GB, free: 420 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.6082, allocations: 14.44 kB / 0.8349 GB, free: 420 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003592/0.6085, allocations: 182.2 kB / 0.8351 GB, free: 408 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.941e-05/0.6086, allocations: 48.97 kB / 0.8351 GB, free: 400 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.773e-05/0.6087, allocations: 92.7 kB / 0.8352 GB, free: 372 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.6091, allocations: 282.1 kB / 0.8355 GB, free: 328 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6091, allocations: 0 / 0.8355 GB, free: 328 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6091, allocations: 0 / 0.8355 GB, free: 328 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.6091, 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.0009501/0.6101, allocations: 0.5254 MB / 0.836 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.6101, allocations: 12.94 kB / 0.836 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.245e-05/0.6102, allocations: 51.36 kB / 0.8361 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008429/0.611, allocations: 83.56 kB / 0.8362 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.6113, allocations: 229.2 kB / 0.8364 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.277e-05/0.6114, allocations: 41.97 kB / 0.8364 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.6114, allocations: 14.03 kB / 0.8364 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004723/0.6119, allocations: 266.6 kB / 0.8367 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.6119, allocations: 0 / 0.8367 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.6119, allocations: 9.219 kB / 0.8367 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.612, allocations: 4.469 kB / 0.8367 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.6124, allocations: 174.1 kB / 0.8369 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.614, allocations: 1.177 MB / 0.838 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007392/0.6148, allocations: 212.6 kB / 0.8382 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.615, allocations: 74.69 kB / 0.8383 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.615, allocations: 1.094 kB / 0.8383 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.615, allocations: 38 kB / 0.8383 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.733e-06/0.615, allocations: 0 / 0.8383 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.002674/0.6177, allocations: 0.6223 MB / 0.8389 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.6178, allocations: 57.5 kB / 0.839 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.618, allocations: 217.4 kB / 0.8392 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.6181, allocations: 27.2 kB / 0.8392 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.451e-05/0.6182, allocations: 142.4 kB / 0.8394 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.6182, allocations: 38.94 kB / 0.8394 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-05/0.6183, allocations: 49.22 kB / 0.8394 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.6185, allocations: 330.6 kB / 0.8398 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.6187, allocations: 75.5 kB / 0.8398 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.619, allocations: 126.9 kB / 0.84 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.6194, allocations: 205.2 kB / 0.8401 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6194, allocations: 0 / 0.8401 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001409/0.6208, allocations: 374 kB / 0.8405 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.6209, allocations: 5.281 kB / 0.8405 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6209, allocations: 2.688 kB / 0.8405 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.6219, allocations: 163.2 kB / 0.8407 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.6222, allocations: 38.23 kB / 0.8407 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004297/0.6265, allocations: 3.246 MB / 0.8439 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000413/0.6269, allocations: 38.7 kB / 0.8439 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.627, allocations: 13.12 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.0001826/0.6272, allocations: 138.6 kB / 0.8441 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.171e-05/0.6272, allocations: 16.28 kB / 0.8441 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.6286, allocations: 368.6 kB / 0.8444 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.6286, allocations: 3.906 kB / 0.8444 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.6287, allocations: 0 / 0.8444 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.6287, allocations: 6.328 kB / 0.8444 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.629, allocations: 286.5 kB / 0.8447 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.629, allocations: 4 kB / 0.8447 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.6292, allocations: 24.42 kB / 0.8447 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008281/0.63, allocations: 141.4 kB / 0.8449 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.63, allocations: 1.219 kB / 0.8449 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003941/0.634, allocations: 3.306 MB / 0.8481 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.634, allocations: 0 / 0.8481 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.6354, allocations: 440.6 kB / 0.8485 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.6356, allocations: 117.1 kB / 0.8486 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.6356, allocations: 1.156 kB / 0.8486 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/0.6359, allocations: 18.64 kB / 0.8486 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.959e-05/0.636, allocations: 20.09 kB / 0.8487 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.636, allocations: 4.125 kB / 0.8487 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001923/0.6362, allocations: 161.5 kB / 0.8488 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6362, allocations: 0 / 0.8488 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004341/0.6367, allocations: 68.56 kB / 0.8489 GB, free: 6.551 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.001674/0.6383, allocations: 0.9764 MB / 0.8498 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.6395, allocations: 453.9 kB / 0.8503 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6395, allocations: 4 kB / 0.8503 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007336/0.6402, allocations: 356.3 kB / 0.8506 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.6407, allocations: 68.16 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.005153/0.6459, allocations: 2.523 MB / 0.8531 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.6463, allocations: 0.736 MB / 0.8539 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002227/0.6465, allocations: 41.5 kB / 0.8539 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.967e-05/0.6466, allocations: 53.75 kB / 0.854 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.6466, allocations: 0 / 0.854 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03632/0.683, allocations: 7.213 MB / 0.861 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.71, allocations: 3.859 kB / 0.861 GB, free: 14.86 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)