Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.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.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb",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.004897/0.004897, allocations: 102.9 kB / 15.74 MB, free: 6.07 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.00114/0.00114, allocations: 191 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.207/1.207, 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.002009/0.002008, allocations: 281.8 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8599/0.8599, allocations: 169.2 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 100.1 kB / 0.681 GB, free: 7.414 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3648, allocations: 86.97 MB / 0.7659 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1685/0.5333, allocations: 181.8 MB / 0.9434 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005499/0.5388, allocations: 4.452 MB / 0.9478 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000494/0.5394, allocations: 19.88 kB / 0.9478 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006446/0.54, allocations: 250.1 kB / 0.948 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.5417, allocations: 0.7931 MB / 0.9488 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003105/0.5448, allocations: 1.55 MB / 0.9503 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001149/0.546, allocations: 1.258 MB / 0.9516 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005148/0.5465, allocations: 449.3 kB / 0.952 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007557/0.5473, allocations: 0.5915 MB / 0.9526 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004091/0.5477, allocations: 410.4 kB / 0.9529 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.105e-05/0.5478, allocations: 44 kB / 0.953 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.55, allocations: 1.563 MB / 0.9545 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.5502, allocations: 183.5 kB / 0.9547 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.5504, allocations: 302.5 kB / 0.955 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.552, allocations: 1.324 MB / 0.9563 GB, free: 344 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.552, allocations: 0 / 0.9563 GB, free: 344 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/0.552, allocations: 0 / 0.9563 GB, free: 344 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.475e-06/0.5521, allocations: 4 kB / 0.9563 GB, free: 340 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.2826/0.8346, allocations: 1.028 MB / 0.9573 GB, free: 192.7 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.8347, allocations: 9.594 kB / 0.9573 GB, free: 192.7 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.239e-05/0.8348, allocations: 82.14 kB / 0.9574 GB, free: 192.6 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002045/0.8368, allocations: 290.8 kB / 0.9576 GB, free: 192.6 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007453/0.8376, allocations: 477.4 kB / 0.9581 GB, free: 192.3 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/0.8376, allocations: 35.72 kB / 0.9581 GB, free: 192.2 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.462e-05/0.8377, allocations: 41.34 kB / 0.9582 GB, free: 192.2 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.8387, allocations: 0.5549 MB / 0.9587 GB, free: 192 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.8388, allocations: 0.6562 kB / 0.9587 GB, free: 192 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.161e-05/0.8388, allocations: 18.77 kB / 0.9587 GB, free: 192 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.8388, allocations: 9.75 kB / 0.9587 GB, free: 192 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.84, allocations: 463.5 kB / 0.9592 GB, free: 191.8 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.8421, allocations: 2.117 MB / 0.9613 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008904/0.843, allocations: 406.7 kB / 0.9616 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004505/0.8435, allocations: 233.2 kB / 0.9619 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005442/0.844, allocations: 398.8 kB / 0.9622 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005596/0.8446, allocations: 289.7 kB / 0.9625 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.823e-06/0.8446, allocations: 3.406 kB / 0.9625 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001642/0.8462, allocations: 0.6857 MB / 0.9632 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.8463, allocations: 61.42 kB / 0.9633 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/0.8468, allocations: 497 kB / 0.9637 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.8468, allocations: 38.31 kB / 0.9638 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.847, allocations: 263.4 kB / 0.964 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.893e-05/0.847, allocations: 130 kB / 0.9641 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.8472, allocations: 93.53 kB / 0.9642 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.992e-05/0.8473, allocations: 368.9 kB / 0.9646 GB, free: 188.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004541/0.8477, allocations: 196.1 kB / 0.9648 GB, free: 188.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005082/0.8482, allocations: 319.7 kB / 0.9651 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008813/0.8491, allocations: 0.5459 MB / 0.9656 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.8491, allocations: 0.9375 kB / 0.9656 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001159/0.8503, allocations: 0.6483 MB / 0.9662 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.8503, allocations: 60.86 kB / 0.9663 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.8503, allocations: 3.125 kB / 0.9663 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.8504, allocations: 5.906 kB / 0.9663 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/0.8508, allocations: 103.5 kB / 0.9664 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.8508, allocations: 8.234 kB / 0.9664 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.8513, allocations: 79.61 kB / 0.9665 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/0.8514, allocations: 23.69 kB / 0.9665 GB, free: 187.5 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001699/0.8515, allocations: 197.6 kB / 0.9667 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.62e-05/0.8516, allocations: 54.3 kB / 0.9667 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.8527, allocations: 0.5415 MB / 0.9673 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.8527, allocations: 4.922 kB / 0.9673 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.8527, allocations: 0 / 0.9673 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.8527, allocations: 1.734 kB / 0.9673 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.8545, allocations: 1.352 MB / 0.9686 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.8546, allocations: 7.812 kB / 0.9686 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.8549, allocations: 79.27 kB / 0.9687 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.8549, allocations: 3.969 kB / 0.9687 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.855, allocations: 11.94 kB / 0.9687 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.855, allocations: 7.812 kB / 0.9687 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.855, allocations: 7.906 kB / 0.9687 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.8563, allocations: 0.9356 MB / 0.9696 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.8565, allocations: 174.9 kB / 0.9698 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.117e-05/0.8566, allocations: 16 kB / 0.9698 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000422/0.857, allocations: 33.48 kB / 0.9698 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.988e-05/0.8571, allocations: 47.42 kB / 0.9699 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.8571, allocations: 20.88 kB / 0.9699 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000281/0.8574, allocations: 348.4 kB / 0.9702 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8574, allocations: 0 / 0.9702 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004529/0.8579, allocations: 153.8 kB / 0.9704 GB, free: 185.3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001707/0.8596, allocations: 1.572 MB / 0.9719 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009294/0.8605, allocations: 0.584 MB / 0.9725 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8605, allocations: 4 kB / 0.9725 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005342/0.8611, allocations: 288.7 kB / 0.9728 GB, free: 183 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.8623, allocations: 290.1 kB / 0.9731 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005246/0.8675, allocations: 5.022 MB / 0.978 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.8678, allocations: 0.8626 MB / 0.9788 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003561/0.8681, allocations: 132.6 kB / 0.9789 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.8683, allocations: 179.4 kB / 0.9791 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8683, allocations: 0 / 0.9791 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.8971, allocations: 15.86 MB / 0.9946 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.35/9.247, allocations: 12.88 kB / 0.9946 GB, free: 160.8 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)