Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_Buildings_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.001714/0.001714, 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.001916/0.001916, allocations: 196.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.835/1.835, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 71.47 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2103, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6654/0.8757, allocations: 181.8 MB / 0.961 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007145/0.8829, allocations: 4.448 MB / 0.9653 GB, free: 212 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.8843, allocations: 20.44 kB / 0.9654 GB, free: 204 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008715/0.8852, allocations: 246.8 kB / 0.9656 GB, free: 96 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002793/0.888, allocations: 0.764 MB / 0.9663 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004706/0.8928, allocations: 1.508 MB / 0.9678 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002171/0.8949, allocations: 1.255 MB / 0.969 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007992/0.8958, allocations: 452.3 kB / 0.9695 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.8972, allocations: 0.5717 MB / 0.97 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005868/0.8978, allocations: 414.9 kB / 0.9704 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.859e-05/0.8979, allocations: 45.78 kB / 0.9705 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003432/0.9013, allocations: 1.535 MB / 0.972 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.9016, allocations: 187.5 kB / 0.9721 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003568/0.902, allocations: 302.2 kB / 0.9724 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.9045, allocations: 1.303 MB / 0.9737 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.9045, allocations: 0 / 0.9737 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9045, allocations: 0 / 0.9737 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.9045, allocations: 0 / 0.9737 GB, free: 14.92 MB / 0.7325 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.001884/0.9064, allocations: 1.025 MB / 0.9747 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.9065, allocations: 10.06 kB / 0.9747 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.931e-05/0.9066, allocations: 80.81 kB / 0.9748 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002041/0.9086, allocations: 284.2 kB / 0.9751 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007477/0.9094, allocations: 453.7 kB / 0.9755 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.9094, allocations: 36.06 kB / 0.9755 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.023e-05/0.9095, allocations: 40.75 kB / 0.9756 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009913/0.9105, allocations: 0.5515 MB / 0.9761 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.9105, allocations: 1.406 kB / 0.9761 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.762e-05/0.9106, allocations: 19.91 kB / 0.9761 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.9106, allocations: 14.41 kB / 0.9761 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.9116, allocations: 457.9 kB / 0.9766 GB, free: 13.73 MB / 0.7325 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.002623/0.9143, allocations: 2.117 MB / 0.9786 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009542/0.9152, allocations: 408.1 kB / 0.979 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004668/0.9157, allocations: 236.1 kB / 0.9793 GB, free: 12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007053/0.9164, allocations: 393.3 kB / 0.9796 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006265/0.9171, allocations: 301.2 kB / 0.9799 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 2.264e-06/0.9171, allocations: 0 / 0.9799 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.001787/0.9189, allocations: 0.6846 MB / 0.9806 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.9189, allocations: 56.94 kB / 0.9806 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005918/0.9195, allocations: 497.8 kB / 0.9811 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/0.9196, allocations: 33.7 kB / 0.9811 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.9198, allocations: 272.5 kB / 0.9814 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.9199, allocations: 120.9 kB / 0.9815 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.9201, allocations: 93.88 kB / 0.9816 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.9202, allocations: 362.2 kB / 0.982 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004776/0.9207, allocations: 197 kB / 0.9821 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005988/0.9213, allocations: 317.2 kB / 0.9824 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.9224, allocations: 0.5415 MB / 0.983 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.9224, allocations: 1.031 kB / 0.983 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001347/0.9238, allocations: 0.6523 MB / 0.9836 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.529e-05/0.9239, allocations: 69.8 kB / 0.9837 GB, free: 8.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.9239, allocations: 2.25 kB / 0.9837 GB, free: 8.809 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.9239, allocations: 9.688 kB / 0.9837 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/0.9244, allocations: 94.41 kB / 0.9838 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.9245, allocations: 4.719 kB / 0.9838 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005936/0.9251, allocations: 77.73 kB / 0.9839 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/0.9251, allocations: 25.09 kB / 0.9839 GB, free: 8.727 MB / 0.7325 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.0002452/0.9254, allocations: 199.1 kB / 0.9841 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.651e-05/0.9255, allocations: 56.45 kB / 0.9841 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.9267, allocations: 0.5347 MB / 0.9846 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.9267, allocations: 5.281 kB / 0.9847 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.9267, allocations: 3.984 kB / 0.9847 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.9267, allocations: 3.984 kB / 0.9847 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/0.9291, allocations: 1.35 MB / 0.986 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.9292, allocations: 6.625 kB / 0.986 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.9296, allocations: 76.02 kB / 0.9861 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.9296, allocations: 5.344 kB / 0.9861 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.9296, allocations: 12.78 kB / 0.9861 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.9296, allocations: 13.92 kB / 0.9861 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/0.9297, allocations: 8.875 kB / 0.9861 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.9313, allocations: 0.9288 MB / 0.987 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.9316, allocations: 172.4 kB / 0.9872 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.675e-05/0.9317, allocations: 9.312 kB / 0.9872 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000433/0.9322, allocations: 42.7 kB / 0.9872 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.9323, allocations: 48.98 kB / 0.9873 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.9323, allocations: 14.25 kB / 0.9873 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004534/0.9328, allocations: 346 kB / 0.9876 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9328, allocations: 0 / 0.9876 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007545/0.9336, allocations: 157.8 kB / 0.9878 GB, free: 6.141 MB / 0.7325 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.002474/0.9361, allocations: 1.572 MB / 0.9893 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001332/0.9374, allocations: 0.5931 MB / 0.9899 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.9374, allocations: 128 / 0.9899 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006495/0.9381, allocations: 288.2 kB / 0.9901 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.9395, allocations: 292 kB / 0.9904 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008461/0.948, allocations: 5.1 MB / 0.9954 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.9485, allocations: 0.8667 MB / 0.9963 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006752/0.9492, allocations: 124.2 kB / 0.9964 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/0.9495, allocations: 178.6 kB / 0.9965 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of SimCode: time 1.082e-06/0.9495, allocations: 0 / 0.9965 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04453/0.994, allocations: 15.7 MB / 1.012 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.223/9.217, allocations: 13.72 kB / 1.012 GB, free: 8.125 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)