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.007162/0.007163, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001568/0.001568, allocations: 198.7 kB / 16.67 MB, free: 5.934 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002253/0.002252, allocations: 279 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 1.073/1.073, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003191/0.003191, allocations: 99.83 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2041, allocations: 86.97 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003296/0.2074, allocations: 1.667 MB / 0.7675 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5617/0.7692, allocations: 149.7 MB / 0.9137 GB, free: 11.82 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.7694, allocations: 4 kB / 0.9137 GB, free: 11.81 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.7696, allocations: 27.73 kB / 0.9137 GB, free: 11.79 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.7699, allocations: 47.64 kB / 0.9138 GB, free: 11.74 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005067/0.7704, allocations: 187.3 kB / 0.914 GB, free: 11.55 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.7707, allocations: 167.5 kB / 0.9141 GB, free: 11.39 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.7708, allocations: 25.12 kB / 0.9142 GB, free: 11.37 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.7721, allocations: 200.7 kB / 0.9143 GB, free: 11.2 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.7722, allocations: 59.77 kB / 0.9144 GB, free: 11.14 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.7723, allocations: 8 kB / 0.9144 GB, free: 11.14 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003201/0.7726, allocations: 167.8 kB / 0.9146 GB, free: 10.97 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.912e-05/0.7727, allocations: 23.92 kB / 0.9146 GB, free: 10.95 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 6.75e-05/0.7727, allocations: 51.66 kB / 0.9146 GB, free: 10.9 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.7731, allocations: 197.5 kB / 0.9148 GB, free: 10.71 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7731, allocations: 8 kB / 0.9148 GB, free: 10.7 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7731, allocations: 0 / 0.9148 GB, free: 10.7 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.7731, allocations: 0 / 0.9148 GB, free: 10.7 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.0008688/0.774, allocations: 482.5 kB / 0.9153 GB, free: 10.18 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.7741, allocations: 9.719 kB / 0.9153 GB, free: 10.18 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.7741, allocations: 38.75 kB / 0.9153 GB, free: 10.13 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006084/0.7747, allocations: 60.78 kB / 0.9154 GB, free: 10.07 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.775, allocations: 204.1 kB / 0.9156 GB, free: 9.832 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.775, allocations: 8 kB / 0.9156 GB, free: 9.824 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.775, allocations: 8 kB / 0.9156 GB, free: 9.816 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/0.7755, allocations: 184 kB / 0.9158 GB, free: 9.617 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.7755, allocations: 4 kB / 0.9158 GB, free: 9.613 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.7755, allocations: 8 kB / 0.9158 GB, free: 9.605 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.7755, allocations: 0 / 0.9158 GB, free: 9.605 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004892/0.776, allocations: 143.8 kB / 0.9159 GB, free: 9.465 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.7771, allocations: 0.8294 MB / 0.9167 GB, free: 8.559 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/0.7775, allocations: 122.5 kB / 0.9169 GB, free: 8.43 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.7778, allocations: 84.8 kB / 0.9169 GB, free: 8.344 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.7778, allocations: 0 / 0.9169 GB, free: 8.344 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.7778, allocations: 38.56 kB / 0.917 GB, free: 8.297 MB / 0.67 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.7779, allocations: 0 / 0.917 GB, free: 8.297 MB / 0.67 GB Notification: Performance of matching and sorting (n=8): time 0.001895/0.7798, allocations: 467.3 kB / 0.9174 GB, free: 7.812 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.7798, allocations: 55.34 kB / 0.9175 GB, free: 7.746 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.7799, allocations: 160.2 kB / 0.9176 GB, free: 7.582 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.78, allocations: 29.7 kB / 0.9177 GB, free: 7.547 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.78, allocations: 108.3 kB / 0.9178 GB, free: 7.438 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.7801, allocations: 31.73 kB / 0.9178 GB, free: 7.406 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-05/0.7802, allocations: 29.7 kB / 0.9178 GB, free: 7.371 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.7803, allocations: 322.8 kB / 0.9181 GB, free: 7.047 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.7805, allocations: 71.88 kB / 0.9182 GB, free: 6.977 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.7808, allocations: 101 kB / 0.9183 GB, free: 6.863 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005123/0.7813, allocations: 177.7 kB / 0.9185 GB, free: 6.676 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7813, allocations: 0 / 0.9185 GB, free: 6.676 MB / 0.67 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001042/0.7824, allocations: 290.1 kB / 0.9187 GB, free: 6.383 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.7824, allocations: 7.938 kB / 0.9187 GB, free: 6.375 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.7824, allocations: 4 kB / 0.9188 GB, free: 6.371 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006/0.783, allocations: 88.89 kB / 0.9188 GB, free: 6.281 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.7832, allocations: 31.95 kB / 0.9189 GB, free: 6.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.7853, allocations: 1.66 MB / 0.9205 GB, free: 4.449 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.7856, allocations: 20 kB / 0.9205 GB, free: 4.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.7856, allocations: 8 kB / 0.9205 GB, free: 4.422 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.0001086/0.7857, allocations: 126.5 kB / 0.9206 GB, free: 4.289 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.7858, allocations: 15.89 kB / 0.9206 GB, free: 4.273 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.7868, allocations: 317.4 kB / 0.921 GB, free: 3.953 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.7868, allocations: 4 kB / 0.921 GB, free: 3.949 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.7868, allocations: 0 / 0.921 GB, free: 3.949 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7868, allocations: 0 / 0.921 GB, free: 3.949 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.7871, allocations: 237.5 kB / 0.9212 GB, free: 3.668 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7872, allocations: 3.938 kB / 0.9212 GB, free: 3.664 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.7874, allocations: 43.83 kB / 0.9212 GB, free: 3.621 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000423/0.7878, allocations: 68.78 kB / 0.9213 GB, free: 3.551 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.7878, allocations: 15.92 kB / 0.9213 GB, free: 3.535 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/0.7897, allocations: 1.679 MB / 0.9229 GB, free: 1.711 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.7897, allocations: 0 / 0.9229 GB, free: 1.711 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.7907, allocations: 384.1 kB / 0.9233 GB, free: 1.316 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-05/0.7908, allocations: 105 kB / 0.9234 GB, free: 1.195 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.7909, allocations: 4 kB / 0.9234 GB, free: 1.191 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.7911, allocations: 19.92 kB / 0.9234 GB, free: 1.172 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.335e-05/0.7912, allocations: 15.97 kB / 0.9235 GB, free: 1.156 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.7912, allocations: 4 kB / 0.9235 GB, free: 1.152 MB / 0.67 GB Notification: Performance of sorting global known variables: time 7.986e-05/0.7913, allocations: 118.3 kB / 0.9236 GB, free: 1.039 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7913, allocations: 0 / 0.9236 GB, free: 1.039 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003269/0.7916, allocations: 47.89 kB / 0.9236 GB, free: 0.9922 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.001303/0.7929, allocations: 0.916 MB / 0.9245 GB, free: 48 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008978/0.7938, allocations: 315.7 kB / 0.9248 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.7938, allocations: 0 / 0.9248 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00052/0.7944, allocations: 237.9 kB / 0.925 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.7947, allocations: 24.53 kB / 0.9251 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/0.7984, allocations: 2.061 MB / 0.9271 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.7987, allocations: 0.7046 MB / 0.9278 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001354/0.7988, allocations: 28.81 kB / 0.9278 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.714e-05/0.7989, allocations: 35.41 kB / 0.9278 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of SimCode: time 2.1e-07/0.7989, allocations: 0 / 0.9278 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.8246, allocations: 4.776 MB / 0.9325 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/12.05, allocations: 0 / 0.9325 GB, free: 7.941 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)