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.007638/0.007638, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001926/0.001926, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.447/1.447, 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.002446/0.002446, allocations: 284.9 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.055/1.055, allocations: 169.2 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002676/0.002676, allocations: 95.83 kB / 0.681 GB, free: 7.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4865/0.4892, allocations: 86.98 MB / 0.7659 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003027/0.4923, allocations: 1.674 MB / 0.7675 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.177/0.6693, allocations: 149.7 MB / 0.9137 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.6694, allocations: 7.938 kB / 0.9137 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.6696, allocations: 23.8 kB / 0.9137 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.6699, allocations: 59.62 kB / 0.9138 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.6704, allocations: 179.3 kB / 0.914 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.6706, allocations: 163.5 kB / 0.9141 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.6707, allocations: 29.11 kB / 0.9142 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.672, allocations: 188 kB / 0.9143 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.6722, allocations: 59.75 kB / 0.9144 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.6722, allocations: 12 kB / 0.9144 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003247/0.6725, allocations: 167.7 kB / 0.9146 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.6726, allocations: 27.91 kB / 0.9146 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 7.598e-05/0.6727, allocations: 55.72 kB / 0.9146 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.6731, allocations: 200.6 kB / 0.9148 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6731, allocations: 0 / 0.9148 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6731, allocations: 0 / 0.9148 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.6731, allocations: 0 / 0.9148 GB, free: 10.82 MB / 0.6856 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.0008828/0.674, allocations: 474.6 kB / 0.9153 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.674, allocations: 8.031 kB / 0.9153 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.043e-05/0.6741, allocations: 46.67 kB / 0.9153 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005984/0.6747, allocations: 64.53 kB / 0.9154 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.6749, allocations: 198.9 kB / 0.9156 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.6749, allocations: 8 kB / 0.9156 GB, free: 9.938 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.675, allocations: 4 kB / 0.9156 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004754/0.6755, allocations: 193.7 kB / 0.9158 GB, free: 9.723 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.6755, allocations: 0 / 0.9158 GB, free: 9.723 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.6755, allocations: 0 / 0.9158 GB, free: 9.723 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.6755, allocations: 4 kB / 0.9158 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005401/0.6761, allocations: 147.8 kB / 0.9159 GB, free: 9.574 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.6772, allocations: 0.8207 MB / 0.9167 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.6776, allocations: 126.5 kB / 0.9169 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.6779, allocations: 84.8 kB / 0.9169 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.6779, allocations: 3.938 kB / 0.9169 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.678, allocations: 30.56 kB / 0.917 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.678, allocations: 0 / 0.917 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8): time 0.001936/0.6799, allocations: 467.3 kB / 0.9174 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.68, allocations: 59.28 kB / 0.9175 GB, free: 7.859 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.6801, allocations: 158.2 kB / 0.9176 GB, free: 7.699 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.6802, allocations: 29.64 kB / 0.9177 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 9.728e-05/0.6803, allocations: 104.3 kB / 0.9178 GB, free: 7.559 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.6803, allocations: 27.75 kB / 0.9178 GB, free: 7.531 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.696e-05/0.6804, allocations: 33.69 kB / 0.9178 GB, free: 7.492 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.6806, allocations: 318.8 kB / 0.9181 GB, free: 7.172 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.6808, allocations: 79.92 kB / 0.9182 GB, free: 7.094 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.6811, allocations: 100.2 kB / 0.9183 GB, free: 6.98 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000512/0.6816, allocations: 188.1 kB / 0.9185 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6816, allocations: 0 / 0.9185 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001025/0.6827, allocations: 282.1 kB / 0.9187 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.6827, allocations: 7.938 kB / 0.9187 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.6827, allocations: 4.391 kB / 0.9187 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005679/0.6833, allocations: 80.89 kB / 0.9188 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.6835, allocations: 35.89 kB / 0.9189 GB, free: 6.367 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.6858, allocations: 1.662 MB / 0.9205 GB, free: 4.559 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.686, allocations: 20.05 kB / 0.9205 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.686, allocations: 11.92 kB / 0.9205 GB, free: 4.527 MB / 0.6856 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.0001185/0.6861, allocations: 124.2 kB / 0.9206 GB, free: 4.398 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.6862, allocations: 11.91 kB / 0.9206 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.6873, allocations: 322.4 kB / 0.9209 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.6873, allocations: 0 / 0.9209 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.6873, allocations: 0 / 0.9209 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.6873, allocations: 3.938 kB / 0.921 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.6876, allocations: 237.5 kB / 0.9212 GB, free: 3.781 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6876, allocations: 0 / 0.9212 GB, free: 3.781 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.6878, allocations: 35.95 kB / 0.9212 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004193/0.6883, allocations: 72.78 kB / 0.9213 GB, free: 3.672 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.6883, allocations: 8.016 kB / 0.9213 GB, free: 3.664 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.6903, allocations: 1.689 MB / 0.9229 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6903, allocations: 0 / 0.9229 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.6913, allocations: 388 kB / 0.9233 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.161e-05/0.6914, allocations: 93.05 kB / 0.9234 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.6915, allocations: 7.984 kB / 0.9234 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.6917, allocations: 19.92 kB / 0.9234 GB, free: 1.293 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.6918, allocations: 11.98 kB / 0.9234 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.6918, allocations: 7.984 kB / 0.9234 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001083/0.6919, allocations: 111.3 kB / 0.9236 GB, free: 1.164 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6919, allocations: 7.875 kB / 0.9236 GB, free: 1.156 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003302/0.6922, allocations: 47.89 kB / 0.9236 GB, free: 1.109 MB / 0.6856 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.001414/0.6937, allocations: 0.9238 MB / 0.9245 GB, free: 160 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009188/0.6946, allocations: 310.8 kB / 0.9248 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6946, allocations: 0 / 0.9248 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005337/0.6952, allocations: 226.6 kB / 0.925 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.6955, allocations: 24.92 kB / 0.925 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/0.6993, allocations: 2.064 MB / 0.9271 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.6997, allocations: 0.7085 MB / 0.9278 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.6998, allocations: 32.94 kB / 0.9278 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.082e-05/0.7, allocations: 35.42 kB / 0.9278 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of SimCode: time 6.11e-07/0.7, allocations: 0 / 0.9278 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.7314, allocations: 4.767 MB / 0.9325 GB, free: 8.062 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.27, allocations: 4.062 kB / 0.9325 GB, free: 8.059 MB / 0.7012 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)