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.008513/0.008513, allocations: 99.84 kB / 15.73 MB, free: 6.492 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.001914/0.001914, allocations: 201.4 kB / 16.68 MB, free: 6.375 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002281/0.002281, allocations: 286.1 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9986/0.9986, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 103.8 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.169, allocations: 86.98 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002999/0.172, allocations: 1.661 MB / 0.7675 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5619/0.7339, allocations: 149.7 MB / 0.9137 GB, free: 11.85 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.7342, allocations: 4 kB / 0.9137 GB, free: 11.84 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.7344, allocations: 27.78 kB / 0.9137 GB, free: 11.82 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.7348, allocations: 53.83 kB / 0.9138 GB, free: 11.77 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005637/0.7353, allocations: 179.4 kB / 0.914 GB, free: 11.59 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.7356, allocations: 171.5 kB / 0.9141 GB, free: 11.42 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.7358, allocations: 25.11 kB / 0.9142 GB, free: 11.4 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.737, allocations: 194.3 kB / 0.9143 GB, free: 11.24 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.7371, allocations: 63.75 kB / 0.9144 GB, free: 11.18 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.7372, allocations: 16 kB / 0.9144 GB, free: 11.16 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003191/0.7375, allocations: 163.8 kB / 0.9146 GB, free: 11 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.7375, allocations: 27.86 kB / 0.9146 GB, free: 10.97 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 7.554e-05/0.7376, allocations: 51.72 kB / 0.9147 GB, free: 10.92 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003978/0.738, allocations: 204.9 kB / 0.9148 GB, free: 10.73 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.738, allocations: 0 / 0.9148 GB, free: 10.73 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7381, allocations: 0 / 0.9148 GB, free: 10.73 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.7381, allocations: 0 / 0.9148 GB, free: 10.73 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008761/0.7389, allocations: 474.5 kB / 0.9153 GB, free: 10.21 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.739, allocations: 8.031 kB / 0.9153 GB, free: 10.21 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.739, allocations: 47.36 kB / 0.9154 GB, free: 10.15 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000608/0.7397, allocations: 60.78 kB / 0.9154 GB, free: 10.09 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.7399, allocations: 199.4 kB / 0.9156 GB, free: 9.859 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.7399, allocations: 8 kB / 0.9156 GB, free: 9.852 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.74, allocations: 8 kB / 0.9156 GB, free: 9.844 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004634/0.7404, allocations: 188.4 kB / 0.9158 GB, free: 9.641 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.7404, allocations: 0 / 0.9158 GB, free: 9.641 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.7405, allocations: 4 kB / 0.9158 GB, free: 9.637 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.7405, allocations: 4 kB / 0.9158 GB, free: 9.633 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005131/0.741, allocations: 147.7 kB / 0.9159 GB, free: 9.488 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.7422, allocations: 0.8244 MB / 0.9167 GB, free: 8.586 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.7427, allocations: 130.5 kB / 0.9169 GB, free: 8.449 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.7429, allocations: 80.8 kB / 0.917 GB, free: 8.367 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.743, allocations: 0 / 0.917 GB, free: 8.367 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.743, allocations: 35.69 kB / 0.917 GB, free: 8.324 MB / 0.67 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.743, allocations: 0 / 0.917 GB, free: 8.324 MB / 0.67 GB Notification: Performance of matching and sorting (n=8): time 0.001991/0.745, allocations: 471.3 kB / 0.9174 GB, free: 7.836 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.7451, allocations: 55.34 kB / 0.9175 GB, free: 7.77 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.7452, allocations: 154.8 kB / 0.9176 GB, free: 7.609 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.7452, allocations: 25.7 kB / 0.9177 GB, free: 7.578 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.7453, allocations: 108.3 kB / 0.9178 GB, free: 7.469 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.7453, allocations: 27.75 kB / 0.9178 GB, free: 7.441 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.184e-05/0.7454, allocations: 33.69 kB / 0.9178 GB, free: 7.402 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.7456, allocations: 322.8 kB / 0.9181 GB, free: 7.078 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.7458, allocations: 71.92 kB / 0.9182 GB, free: 7.008 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.7461, allocations: 100.2 kB / 0.9183 GB, free: 6.895 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/0.7466, allocations: 185.2 kB / 0.9185 GB, free: 6.699 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7466, allocations: 0 / 0.9185 GB, free: 6.699 MB / 0.67 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001023/0.7476, allocations: 282.1 kB / 0.9187 GB, free: 6.414 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.7477, allocations: 7.938 kB / 0.9187 GB, free: 6.406 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.7477, allocations: 4 kB / 0.9188 GB, free: 6.402 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006087/0.7483, allocations: 84.89 kB / 0.9188 GB, free: 6.316 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.7485, allocations: 35.95 kB / 0.9189 GB, free: 6.281 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.7508, allocations: 1.667 MB / 0.9205 GB, free: 4.469 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.751, allocations: 15.98 kB / 0.9205 GB, free: 4.453 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.7511, allocations: 11.98 kB / 0.9205 GB, free: 4.441 MB / 0.67 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.0001077/0.7512, allocations: 118.4 kB / 0.9206 GB, free: 4.316 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.7512, allocations: 11.91 kB / 0.9206 GB, free: 4.305 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.7523, allocations: 324 kB / 0.921 GB, free: 3.977 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.7523, allocations: 0 / 0.921 GB, free: 3.977 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.7523, allocations: 0 / 0.921 GB, free: 3.977 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.7523, allocations: 0 / 0.921 GB, free: 3.977 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.7526, allocations: 241.5 kB / 0.9212 GB, free: 3.691 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.7526, allocations: 4 kB / 0.9212 GB, free: 3.688 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.7528, allocations: 35.95 kB / 0.9212 GB, free: 3.652 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004229/0.7533, allocations: 72.78 kB / 0.9213 GB, free: 3.578 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.7533, allocations: 7.938 kB / 0.9213 GB, free: 3.57 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.7551, allocations: 1.69 MB / 0.9229 GB, free: 1.734 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7551, allocations: 0 / 0.9229 GB, free: 1.734 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.7562, allocations: 384.7 kB / 0.9233 GB, free: 1.34 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 8.704e-05/0.7563, allocations: 93.05 kB / 0.9234 GB, free: 1.23 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.7563, allocations: 11.98 kB / 0.9234 GB, free: 1.219 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.7565, allocations: 15.92 kB / 0.9234 GB, free: 1.203 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.7566, allocations: 11.98 kB / 0.9234 GB, free: 1.191 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.7566, allocations: 11.98 kB / 0.9235 GB, free: 1.18 MB / 0.67 GB Notification: Performance of sorting global known variables: time 7.827e-05/0.7567, allocations: 115.5 kB / 0.9236 GB, free: 1.07 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7567, allocations: 0 / 0.9236 GB, free: 1.07 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003299/0.757, allocations: 51.88 kB / 0.9236 GB, free: 1.02 MB / 0.67 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.001302/0.7583, allocations: 0.9248 MB / 0.9245 GB, free: 72 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008929/0.7592, allocations: 312.1 kB / 0.9248 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7592, allocations: 0 / 0.9248 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005105/0.7598, allocations: 230.5 kB / 0.925 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.7601, allocations: 32.05 kB / 0.9251 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/0.7639, allocations: 2.054 MB / 0.9271 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.7642, allocations: 0.7085 MB / 0.9278 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001409/0.7643, allocations: 24.81 kB / 0.9278 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.175e-05/0.7644, allocations: 42.11 kB / 0.9278 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of SimCode: time 2.1e-07/0.7644, allocations: 0 / 0.9278 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.7917, allocations: 4.759 MB / 0.9325 GB, free: 7.98 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.88, allocations: 6.031 kB / 0.9325 GB, free: 7.977 MB / 0.6856 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)