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.001327/0.001327, allocations: 108 kB / 15.6 MB, free: 132 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.001304/0.001304, allocations: 195.4 kB / 16.53 MB, free: 6.391 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002409/0.002409, allocations: 290.6 kB / 290.7 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.031/1.031, allocations: 178.6 MB / 0.5073 GB, free: 4.559 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002643/0.002643, allocations: 97.95 kB / 0.6065 GB, free: 24.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1555, allocations: 89.14 MB / 0.6936 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4656/0.6211, allocations: 181.8 MB / 0.8711 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006505/0.6276, allocations: 4.455 MB / 0.8755 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006493/0.6283, allocations: 27.34 kB / 0.8755 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006804/0.629, allocations: 247.1 kB / 0.8757 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.6309, allocations: 0.7574 MB / 0.8765 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003486/0.6344, allocations: 1.509 MB / 0.8779 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.6358, allocations: 1.259 MB / 0.8792 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000616/0.6364, allocations: 444.4 kB / 0.8796 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009424/0.6374, allocations: 0.5634 MB / 0.8801 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000478/0.6378, allocations: 408.7 kB / 0.8805 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.927e-05/0.6379, allocations: 49.34 kB / 0.8806 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002566/0.6405, allocations: 1.546 MB / 0.8821 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.6407, allocations: 182.9 kB / 0.8823 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003255/0.641, allocations: 306.7 kB / 0.8825 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.643, allocations: 1.293 MB / 0.8838 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.643, allocations: 4 kB / 0.8838 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.643, allocations: 0 / 0.8838 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.643, allocations: 0 / 0.8838 GB, free: 8.691 MB / 0.6075 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.001733/0.6448, allocations: 1.018 MB / 0.8848 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.6448, allocations: 12.03 kB / 0.8848 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.349e-05/0.6449, allocations: 78.52 kB / 0.8849 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.6469, allocations: 286.9 kB / 0.8852 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006937/0.6476, allocations: 437.5 kB / 0.8856 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.6476, allocations: 37 kB / 0.8856 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.249e-05/0.6477, allocations: 44 kB / 0.8857 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.6487, allocations: 0.5468 MB / 0.8862 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.6488, allocations: 3.938 kB / 0.8862 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.727e-05/0.6488, allocations: 16 kB / 0.8862 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.6488, allocations: 15.94 kB / 0.8862 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.6499, allocations: 463.5 kB / 0.8867 GB, free: 5.621 MB / 0.6075 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.002557/0.6525, allocations: 2.119 MB / 0.8887 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009821/0.6534, allocations: 406.4 kB / 0.8891 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005016/0.654, allocations: 234.2 kB / 0.8894 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006933/0.6547, allocations: 400.3 kB / 0.8897 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006216/0.6553, allocations: 303.2 kB / 0.89 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 1.904e-06/0.6553, allocations: 0 / 0.89 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001802/0.6571, allocations: 0.6759 MB / 0.8907 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.6572, allocations: 63.39 kB / 0.8907 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005902/0.6578, allocations: 0.4902 MB / 0.8912 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.6578, allocations: 37.7 kB / 0.8913 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.6581, allocations: 256.1 kB / 0.8915 GB, free: 408 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.6582, allocations: 122.3 kB / 0.8916 GB, free: 284 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.6583, allocations: 97.97 kB / 0.8917 GB, free: 180 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.6585, allocations: 366.8 kB / 0.8921 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004901/0.659, allocations: 192.8 kB / 0.8922 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005782/0.6596, allocations: 316 kB / 0.8925 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.6607, allocations: 0.5493 MB / 0.8931 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6607, allocations: 0 / 0.8931 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001322/0.662, allocations: 0.6519 MB / 0.8937 GB, free: 14 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.716e-05/0.6621, allocations: 59.78 kB / 0.8938 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.6621, allocations: 4 kB / 0.8938 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.6621, allocations: 8 kB / 0.8938 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004631/0.6626, allocations: 95.81 kB / 0.8939 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.6626, allocations: 11.98 kB / 0.8939 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005119/0.6631, allocations: 76.08 kB / 0.894 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/0.6632, allocations: 20 kB / 0.894 GB, free: 13.72 MB / 0.6231 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.0002447/0.6635, allocations: 202.8 kB / 0.8942 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.799e-05/0.6635, allocations: 55.28 kB / 0.8942 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.6648, allocations: 0.5323 MB / 0.8947 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.6648, allocations: 8 kB / 0.8948 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6648, allocations: 4 kB / 0.8948 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.6648, allocations: 3.984 kB / 0.8948 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.6671, allocations: 1.337 MB / 0.8961 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.6671, allocations: 9 kB / 0.8961 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004/0.6675, allocations: 79.88 kB / 0.8962 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.6676, allocations: 4 kB / 0.8962 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/0.6676, allocations: 12 kB / 0.8962 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/0.6676, allocations: 7.938 kB / 0.8962 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.6676, allocations: 4.406 kB / 0.8962 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.6694, allocations: 0.9403 MB / 0.8971 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/0.6696, allocations: 176.2 kB / 0.8973 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.718e-05/0.6697, allocations: 21.98 kB / 0.8973 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/0.6701, allocations: 31.97 kB / 0.8973 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.6702, allocations: 51.88 kB / 0.8974 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.6703, allocations: 16 kB / 0.8974 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004188/0.6707, allocations: 346.8 kB / 0.8977 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6707, allocations: 0 / 0.8977 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005557/0.6713, allocations: 151.8 kB / 0.8979 GB, free: 9.559 MB / 0.6231 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.002353/0.6736, allocations: 1.57 MB / 0.8994 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00124/0.6749, allocations: 0.5927 MB / 0.9 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.6749, allocations: 128 / 0.9 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006673/0.6756, allocations: 293.4 kB / 0.9003 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.6769, allocations: 287 kB / 0.9005 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007623/0.6846, allocations: 5.111 MB / 0.9055 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.6851, allocations: 0.8743 MB / 0.9064 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005283/0.6856, allocations: 132.6 kB / 0.9065 GB, free: 372 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.6859, allocations: 171.4 kB / 0.9067 GB, free: 200 kB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.6859, allocations: 0 / 0.9067 GB, free: 200 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04308/0.729, allocations: 15.72 MB / 0.922 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.995/8.724, allocations: 7.109 kB / 0.922 GB, free: 0.7695 MB / 0.6387 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)