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.001432/0.001432, allocations: 108 kB / 15.61 MB, free: 152 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.001564/0.001564, allocations: 197.4 kB / 16.53 MB, free: 6.664 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.316/1.316, 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.001996/0.001996, allocations: 287 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9121/0.9121, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 96.02 kB / 0.5953 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1442, allocations: 86.98 MB / 0.6803 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002856/0.1471, allocations: 1.662 MB / 0.6819 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4218/0.5689, allocations: 149.7 MB / 0.8281 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.935e-05/0.569, allocations: 1.094 kB / 0.8281 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.5692, allocations: 29.66 kB / 0.8281 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.5694, allocations: 50.95 kB / 0.8282 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.5698, allocations: 184.2 kB / 0.8283 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.57, allocations: 166.1 kB / 0.8285 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.5701, allocations: 29.05 kB / 0.8285 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009905/0.5711, allocations: 188.4 kB / 0.8287 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.299e-05/0.5712, allocations: 60.05 kB / 0.8288 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.5712, allocations: 9 kB / 0.8288 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.5715, allocations: 163.7 kB / 0.8289 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.965e-05/0.5715, allocations: 28.86 kB / 0.829 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.277e-05/0.5716, allocations: 52.5 kB / 0.829 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.5719, allocations: 202.5 kB / 0.8292 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.5719, allocations: 0 / 0.8292 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5719, allocations: 1.406 kB / 0.8292 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.5719, allocations: 4 kB / 0.8292 GB, free: 0.9727 MB / 0.5606 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.0007497/0.5727, allocations: 461.9 kB / 0.8296 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.5727, allocations: 8.875 kB / 0.8297 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/0.5727, allocations: 43.78 kB / 0.8297 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005783/0.5733, allocations: 55.14 kB / 0.8297 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.5735, allocations: 202.8 kB / 0.8299 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.5735, allocations: 11.06 kB / 0.83 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.5736, allocations: 12.7 kB / 0.83 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.5739, allocations: 185.7 kB / 0.8301 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.574, allocations: 3.938 kB / 0.8301 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.574, allocations: 1.406 kB / 0.8301 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.574, allocations: 2 kB / 0.8301 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004665/0.5745, allocations: 148.9 kB / 0.8303 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000935/0.5754, allocations: 0.8213 MB / 0.8311 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003796/0.5758, allocations: 134.4 kB / 0.8312 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.576, allocations: 79.06 kB / 0.8313 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.5761, allocations: 5.188 kB / 0.8313 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.5761, allocations: 34.12 kB / 0.8313 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.5761, allocations: 1.094 kB / 0.8313 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.001801/0.5779, allocations: 463.6 kB / 0.8318 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.5779, allocations: 52.78 kB / 0.8318 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.5781, allocations: 151.6 kB / 0.832 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.5781, allocations: 31.39 kB / 0.832 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.5781, allocations: 109 kB / 0.8321 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.5782, allocations: 33.62 kB / 0.8321 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.5782, allocations: 30.38 kB / 0.8322 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.046e-05/0.5783, allocations: 319.6 kB / 0.8325 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.5786, allocations: 72.3 kB / 0.8325 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.5788, allocations: 108.3 kB / 0.8326 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004514/0.5793, allocations: 180.6 kB / 0.8328 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5793, allocations: 0 / 0.8328 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009771/0.5803, allocations: 280.8 kB / 0.8331 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.5803, allocations: 9.375 kB / 0.8331 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.5803, allocations: 1 kB / 0.8331 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000548/0.5808, allocations: 85.66 kB / 0.8332 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.5811, allocations: 32.05 kB / 0.8332 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/0.5829, allocations: 1.659 MB / 0.8348 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.5831, allocations: 29.83 kB / 0.8349 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.5831, allocations: 7.094 kB / 0.8349 GB, free: 13.08 MB / 0.5762 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 9.138e-05/0.5832, allocations: 127.3 kB / 0.835 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.5833, allocations: 11.56 kB / 0.835 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.5843, allocations: 316.5 kB / 0.8353 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.5843, allocations: 2.75 kB / 0.8353 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.5843, allocations: 1.062 kB / 0.8353 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.5843, allocations: 0 / 0.8353 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.5846, allocations: 250.2 kB / 0.8355 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.5846, allocations: 1.156 kB / 0.8355 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.5848, allocations: 35.5 kB / 0.8356 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004139/0.5852, allocations: 74.12 kB / 0.8356 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.5853, allocations: 14.56 kB / 0.8357 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/0.587, allocations: 1.68 MB / 0.8373 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.587, allocations: 0 / 0.8373 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009967/0.588, allocations: 385 kB / 0.8377 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.191e-05/0.5881, allocations: 102.3 kB / 0.8378 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.5881, allocations: 5.062 kB / 0.8378 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.5883, allocations: 22.78 kB / 0.8378 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.5884, allocations: 14.09 kB / 0.8378 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.5884, allocations: 10.25 kB / 0.8378 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.529e-05/0.5885, allocations: 115.8 kB / 0.8379 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5885, allocations: 0 / 0.8379 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003254/0.5888, allocations: 48.03 kB / 0.838 GB, free: 10.91 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 (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.001278/0.5901, allocations: 0.9239 MB / 0.8389 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008386/0.591, allocations: 310.6 kB / 0.8392 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.591, allocations: 1.031 kB / 0.8392 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005023/0.5915, allocations: 235.5 kB / 0.8394 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.5918, allocations: 23.78 kB / 0.8394 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.5955, allocations: 2.059 MB / 0.8414 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.5957, allocations: 0.7116 MB / 0.8421 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001555/0.5959, allocations: 20.23 kB / 0.8421 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.5959, allocations: 38.89 kB / 0.8422 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.5959, allocations: 0 / 0.8422 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.6181, allocations: 4.687 MB / 0.8468 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.93, allocations: 10.03 kB / 0.8468 GB, free: 5.828 MB / 0.5762 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)