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.007679/0.007679, allocations: 97.61 kB / 15.73 MB, free: 6.055 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.00185/0.001851, allocations: 194.4 kB / 16.67 MB, free: 5.977 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.546/1.546, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002279/0.002279, allocations: 275.1 kB / 290.8 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.093/1.093, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 92.28 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.171, allocations: 86.98 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.004005/0.175, allocations: 1.911 MB / 0.7678 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5775/0.7526, allocations: 155.4 MB / 0.9196 GB, free: 5.77 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.7528, allocations: 0 / 0.9196 GB, free: 5.77 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.7531, allocations: 27.73 kB / 0.9196 GB, free: 5.742 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.7534, allocations: 75.41 kB / 0.9197 GB, free: 5.668 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006678/0.7541, allocations: 259.1 kB / 0.9199 GB, free: 5.414 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.000269/0.7544, allocations: 271.1 kB / 0.9202 GB, free: 5.148 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.7546, allocations: 70.41 kB / 0.9202 GB, free: 5.078 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.7558, allocations: 254.1 kB / 0.9205 GB, free: 4.859 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.7559, allocations: 91.61 kB / 0.9206 GB, free: 4.77 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.756, allocations: 12 kB / 0.9206 GB, free: 4.758 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.7563, allocations: 183.8 kB / 0.9207 GB, free: 4.578 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 5.675e-05/0.7563, allocations: 39.89 kB / 0.9208 GB, free: 4.539 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 9.532e-05/0.7564, allocations: 99.52 kB / 0.9209 GB, free: 4.441 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003942/0.7568, allocations: 280.5 kB / 0.9211 GB, free: 4.172 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7569, allocations: 0 / 0.9211 GB, free: 4.172 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7569, allocations: 0 / 0.9211 GB, free: 4.172 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.7569, allocations: 0 / 0.9211 GB, free: 4.172 MB / 0.67 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.0009173/0.7578, allocations: 0.5335 MB / 0.9217 GB, free: 3.59 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.7578, allocations: 12.03 kB / 0.9217 GB, free: 3.578 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.523e-05/0.7579, allocations: 54.55 kB / 0.9217 GB, free: 3.516 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008233/0.7587, allocations: 79.78 kB / 0.9218 GB, free: 3.438 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.759, allocations: 244.4 kB / 0.922 GB, free: 3.16 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.54e-05/0.7591, allocations: 42.02 kB / 0.9221 GB, free: 3.113 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.7592, allocations: 16 kB / 0.9221 GB, free: 3.098 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005253/0.7597, allocations: 267.7 kB / 0.9223 GB, free: 2.809 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.7597, allocations: 0 / 0.9223 GB, free: 2.809 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.7598, allocations: 8 kB / 0.9224 GB, free: 2.801 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.7598, allocations: 4 kB / 0.9224 GB, free: 2.797 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/0.7602, allocations: 168.5 kB / 0.9225 GB, free: 2.633 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.7618, allocations: 1.189 MB / 0.9237 GB, free: 1.367 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007231/0.7626, allocations: 207.2 kB / 0.9239 GB, free: 1.156 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.7628, allocations: 72.81 kB / 0.9239 GB, free: 1.082 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.7628, allocations: 0 / 0.9239 GB, free: 1.082 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.7628, allocations: 34.56 kB / 0.924 GB, free: 1.039 MB / 0.67 GB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.7628, allocations: 4 kB / 0.924 GB, free: 1.035 MB / 0.67 GB Notification: Performance of matching and sorting (n=12): time 0.002549/0.7654, allocations: 0.623 MB / 0.9246 GB, free: 372 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.7654, allocations: 51.41 kB / 0.9246 GB, free: 308 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.7657, allocations: 223.1 kB / 0.9249 GB, free: 76 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.7657, allocations: 25.7 kB / 0.9249 GB, free: 44 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.7658, allocations: 140.2 kB / 0.925 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.7659, allocations: 47.64 kB / 0.9251 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.959e-05/0.766, allocations: 49.64 kB / 0.9251 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.7661, allocations: 326.8 kB / 0.9254 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.7663, allocations: 71.94 kB / 0.9255 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.7665, allocations: 131.7 kB / 0.9256 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/0.767, allocations: 196 kB / 0.9258 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.767, allocations: 4 kB / 0.9258 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001373/0.7683, allocations: 374.8 kB / 0.9262 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.7684, allocations: 6.031 kB / 0.9262 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.7684, allocations: 4 kB / 0.9262 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.7694, allocations: 161.8 kB / 0.9263 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.7696, allocations: 39.91 kB / 0.9264 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003704/0.7734, allocations: 3.248 MB / 0.9295 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.7737, allocations: 43.78 kB / 0.9296 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.7737, allocations: 4.062 kB / 0.9296 GB, free: 10.86 MB / 0.6856 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.0001329/0.7739, allocations: 139.7 kB / 0.9297 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.7739, allocations: 27.78 kB / 0.9297 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.7752, allocations: 360.4 kB / 0.9301 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.7752, allocations: 1.062 kB / 0.9301 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.7752, allocations: 0 / 0.9301 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.7752, allocations: 3.984 kB / 0.9301 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.7755, allocations: 289.3 kB / 0.9304 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.7755, allocations: 0 / 0.9304 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.7757, allocations: 23.98 kB / 0.9304 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000816/0.7765, allocations: 138.7 kB / 0.9305 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.7765, allocations: 4 kB / 0.9305 GB, free: 9.816 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003384/0.7799, allocations: 3.305 MB / 0.9337 GB, free: 6.227 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7799, allocations: 64 / 0.9337 GB, free: 6.227 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.7812, allocations: 435 kB / 0.9342 GB, free: 5.781 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.7813, allocations: 116.9 kB / 0.9343 GB, free: 5.648 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.7813, allocations: 7.984 kB / 0.9343 GB, free: 5.641 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.7816, allocations: 15.98 kB / 0.9343 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.996e-05/0.7817, allocations: 19.92 kB / 0.9343 GB, free: 5.605 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.7817, allocations: 8 kB / 0.9343 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001683/0.7819, allocations: 163.1 kB / 0.9345 GB, free: 5.438 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7819, allocations: 0 / 0.9345 GB, free: 5.438 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003956/0.7823, allocations: 71.92 kB / 0.9345 GB, free: 5.367 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 (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.7838, allocations: 0.9792 MB / 0.9355 GB, free: 4.352 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.7848, allocations: 452.7 kB / 0.9359 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.7849, allocations: 0 / 0.9359 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006293/0.7855, allocations: 357.2 kB / 0.9363 GB, free: 3.512 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.7859, allocations: 61.62 kB / 0.9363 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/0.7906, allocations: 2.521 MB / 0.9388 GB, free: 0.7969 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.7909, allocations: 0.7363 MB / 0.9395 GB, free: 36 kB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001824/0.791, allocations: 41.91 kB / 0.9396 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.341e-05/0.7911, allocations: 55.36 kB / 0.9396 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of SimCode: time 4.41e-07/0.7911, allocations: 0 / 0.9396 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.8206, allocations: 7.306 MB / 0.9467 GB, free: 8.883 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.33, allocations: 12 kB / 0.9468 GB, free: 8.871 MB / 0.7012 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)