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.004806/0.004806, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001227/0.001227, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.347/1.347, 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.002472/0.002472, allocations: 283.6 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.139/1.139, allocations: 178.5 MB / 0.5074 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002608/0.002608, allocations: 95.84 kB / 0.6943 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3864, allocations: 89.12 MB / 0.7813 GB, free: 1.145 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1939/0.5804, allocations: 181.8 MB / 0.9589 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006227/0.5866, allocations: 4.453 MB / 0.9632 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004822/0.5871, allocations: 23.88 kB / 0.9632 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006239/0.5878, allocations: 242.1 kB / 0.9635 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.5895, allocations: 0.758 MB / 0.9642 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003199/0.5927, allocations: 1.517 MB / 0.9657 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001341/0.5941, allocations: 1.258 MB / 0.9669 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005821/0.5947, allocations: 461.2 kB / 0.9674 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000832/0.5955, allocations: 0.5643 MB / 0.9679 GB, free: 9 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004825/0.596, allocations: 414.2 kB / 0.9683 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.895e-05/0.5961, allocations: 44 kB / 0.9684 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.5985, allocations: 1.547 MB / 0.9699 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.5987, allocations: 187.5 kB / 0.97 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.599, allocations: 306.5 kB / 0.9703 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.6007, allocations: 1.308 MB / 0.9716 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.6008, allocations: 4 kB / 0.9716 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6008, allocations: 0 / 0.9716 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.6008, allocations: 0 / 0.9716 GB, free: 5.203 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.001673/0.6025, allocations: 1.04 MB / 0.9726 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.6025, allocations: 12.03 kB / 0.9726 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.542e-05/0.6026, allocations: 78.53 kB / 0.9727 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/0.6045, allocations: 287.3 kB / 0.973 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007631/0.6052, allocations: 469.8 kB / 0.9734 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.6053, allocations: 37 kB / 0.9735 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.913e-05/0.6054, allocations: 43.94 kB / 0.9735 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.6064, allocations: 0.5507 MB / 0.9741 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.6064, allocations: 4 kB / 0.9741 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.848e-05/0.6065, allocations: 19.94 kB / 0.9741 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.6065, allocations: 12 kB / 0.9741 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.6076, allocations: 455.5 kB / 0.9745 GB, free: 2.078 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.002518/0.6101, allocations: 2.124 MB / 0.9766 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009693/0.6111, allocations: 410.4 kB / 0.977 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004913/0.6116, allocations: 224.7 kB / 0.9772 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006605/0.6122, allocations: 400.9 kB / 0.9776 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000603/0.6128, allocations: 283.1 kB / 0.9779 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=37): time 3.476e-06/0.6129, allocations: 4 kB / 0.9779 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37): time 0.001789/0.6147, allocations: 0.6968 MB / 0.9785 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.6147, allocations: 63.39 kB / 0.9786 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005926/0.6153, allocations: 494.1 kB / 0.9791 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.6154, allocations: 37.7 kB / 0.9791 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.6156, allocations: 260.5 kB / 0.9794 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.6157, allocations: 127 kB / 0.9795 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.6159, allocations: 94.06 kB / 0.9796 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.6161, allocations: 366.8 kB / 0.9799 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004933/0.6165, allocations: 196.8 kB / 0.9801 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005971/0.6172, allocations: 312.1 kB / 0.9804 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.6182, allocations: 0.5494 MB / 0.9809 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.6182, allocations: 7.938 kB / 0.9809 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001299/0.6195, allocations: 0.6483 MB / 0.9816 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.32e-05/0.6196, allocations: 63.34 kB / 0.9816 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.6196, allocations: 64 / 0.9816 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.6197, allocations: 12 kB / 0.9817 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/0.6201, allocations: 96.25 kB / 0.9817 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.6201, allocations: 11.98 kB / 0.9818 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004933/0.6206, allocations: 79.52 kB / 0.9818 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/0.6207, allocations: 20 kB / 0.9819 GB, free: 10.16 MB / 0.7481 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.0002402/0.6209, allocations: 194.7 kB / 0.982 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.355e-05/0.621, allocations: 51.67 kB / 0.9821 GB, free: 9.91 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.6223, allocations: 0.5408 MB / 0.9826 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.6223, allocations: 4 kB / 0.9826 GB, free: 9.355 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6223, allocations: 0 / 0.9826 GB, free: 9.355 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.6223, allocations: 0 / 0.9826 GB, free: 9.355 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.6246, allocations: 1.353 MB / 0.9839 GB, free: 7.902 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6246, allocations: 11.97 kB / 0.984 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.625, allocations: 75.88 kB / 0.984 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.625, allocations: 4 kB / 0.984 GB, free: 7.812 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/0.625, allocations: 16 kB / 0.984 GB, free: 7.797 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.625, allocations: 4 kB / 0.984 GB, free: 7.793 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.6251, allocations: 7.938 kB / 0.9841 GB, free: 7.785 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.6268, allocations: 0.9363 MB / 0.985 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/0.627, allocations: 176.6 kB / 0.9851 GB, free: 6.598 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.265e-05/0.6271, allocations: 23.92 kB / 0.9852 GB, free: 6.574 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.6275, allocations: 27.97 kB / 0.9852 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.6277, allocations: 59.88 kB / 0.9852 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.6277, allocations: 12 kB / 0.9853 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004339/0.6282, allocations: 346.8 kB / 0.9856 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.6282, allocations: 0 / 0.9856 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000536/0.6287, allocations: 155.8 kB / 0.9857 GB, free: 5.988 MB / 0.7481 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.6311, allocations: 1.565 MB / 0.9873 GB, free: 4.359 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.6323, allocations: 0.5801 MB / 0.9878 GB, free: 3.754 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6323, allocations: 0 / 0.9878 GB, free: 3.754 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006845/0.633, allocations: 293.2 kB / 0.9881 GB, free: 3.469 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.6343, allocations: 288.4 kB / 0.9884 GB, free: 3.195 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2975/0.9319, allocations: 5.002 MB / 0.9933 GB, free: 201.6 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.9322, allocations: 0.8667 MB / 0.9941 GB, free: 200.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000478/0.9327, allocations: 129.3 kB / 0.9942 GB, free: 200.9 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.933, allocations: 177.6 kB / 0.9944 GB, free: 200.9 MB / 0.7481 GB Notification: Performance of SimCode: time 5.61e-07/0.933, allocations: 0 / 0.9944 GB, free: 200.9 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04511/0.9781, allocations: 15.88 MB / 1.01 GB, free: 195 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.529/9.508, allocations: 11.12 kB / 1.01 GB, free: 195 MB / 0.7481 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)