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.005339/0.005339, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.001449/0.001449, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002355/0.002355, allocations: 294.1 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 0.9419/0.9419, allocations: 169.2 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002488/0.002488, allocations: 96.08 kB / 0.681 GB, free: 7.445 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4067, allocations: 86.98 MB / 0.7659 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1937/0.6004, allocations: 181.8 MB / 0.9434 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00626/0.6067, allocations: 4.452 MB / 0.9478 GB, free: 8.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000574/0.6073, allocations: 23.81 kB / 0.9478 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006784/0.608, allocations: 242.1 kB / 0.948 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.6099, allocations: 0.7619 MB / 0.9488 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00336/0.6133, allocations: 1.515 MB / 0.9503 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001541/0.6148, allocations: 1.254 MB / 0.9515 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005982/0.6154, allocations: 449.3 kB / 0.9519 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008996/0.6163, allocations: 0.5798 MB / 0.9525 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005042/0.6169, allocations: 410.3 kB / 0.9529 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.684e-05/0.6169, allocations: 48 kB / 0.9529 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.6194, allocations: 1.543 MB / 0.9544 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.6197, allocations: 183.5 kB / 0.9546 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003237/0.62, allocations: 306.5 kB / 0.9549 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.6218, allocations: 1.318 MB / 0.9562 GB, free: 288 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6218, allocations: 8 kB / 0.9562 GB, free: 280 kB / 0.7169 GB Notification: Performance of FrontEnd: time 4.118e-06/0.6219, allocations: 0 / 0.9562 GB, free: 280 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.6219, allocations: 3.938 kB / 0.9562 GB, free: 276 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.2899/0.9118, allocations: 1.026 MB / 0.9572 GB, free: 192.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.9119, allocations: 12.45 kB / 0.9572 GB, free: 192.5 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.688e-05/0.912, allocations: 81 kB / 0.9573 GB, free: 192.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.914, allocations: 286.2 kB / 0.9576 GB, free: 192.4 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007616/0.9148, allocations: 479.2 kB / 0.958 GB, free: 192.1 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.9148, allocations: 34.56 kB / 0.958 GB, free: 192.1 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-05/0.9149, allocations: 42.45 kB / 0.9581 GB, free: 192.1 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.916, allocations: 0.5466 MB / 0.9586 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.916, allocations: 4.438 kB / 0.9586 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.9161, allocations: 17.12 kB / 0.9586 GB, free: 191.8 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.9161, allocations: 10.09 kB / 0.9587 GB, free: 191.8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.9173, allocations: 458.6 kB / 0.9591 GB, free: 191.7 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.002358/0.9197, allocations: 2.126 MB / 0.9612 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009078/0.9206, allocations: 409.7 kB / 0.9616 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004437/0.921, allocations: 221.7 kB / 0.9618 GB, free: 190 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005537/0.9216, allocations: 398.2 kB / 0.9621 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005927/0.9222, allocations: 295.5 kB / 0.9624 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 2.274e-06/0.9222, allocations: 0 / 0.9624 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001788/0.924, allocations: 0.6952 MB / 0.9631 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.9241, allocations: 57.27 kB / 0.9632 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005573/0.9246, allocations: 495.2 kB / 0.9636 GB, free: 189 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.9247, allocations: 33.72 kB / 0.9637 GB, free: 189 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.9248, allocations: 268 kB / 0.9639 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.702e-05/0.9249, allocations: 127.2 kB / 0.964 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.925, allocations: 94.31 kB / 0.9641 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.948e-05/0.9251, allocations: 365.5 kB / 0.9645 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004577/0.9256, allocations: 200.9 kB / 0.9647 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004978/0.9261, allocations: 314.3 kB / 0.965 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008973/0.927, allocations: 0.5498 MB / 0.9655 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.927, allocations: 1.25 kB / 0.9655 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001172/0.9282, allocations: 0.6505 MB / 0.9661 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.9282, allocations: 64.53 kB / 0.9662 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.9283, allocations: 4.125 kB / 0.9662 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.9283, allocations: 5.344 kB / 0.9662 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004267/0.9287, allocations: 94.03 kB / 0.9663 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.9287, allocations: 8.594 kB / 0.9663 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004903/0.9292, allocations: 81.2 kB / 0.9664 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/0.9293, allocations: 21.58 kB / 0.9664 GB, free: 187.4 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.000182/0.9295, allocations: 196.1 kB / 0.9666 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.538e-05/0.9295, allocations: 54.55 kB / 0.9667 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.9307, allocations: 0.5396 MB / 0.9672 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.9307, allocations: 3.625 kB / 0.9672 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.9307, allocations: 0 / 0.9672 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.9307, allocations: 3.031 kB / 0.9672 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.9325, allocations: 1.357 MB / 0.9685 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.9325, allocations: 4.281 kB / 0.9685 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.9329, allocations: 82.58 kB / 0.9686 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.9329, allocations: 3.969 kB / 0.9686 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.9329, allocations: 11.94 kB / 0.9686 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.933, allocations: 7.625 kB / 0.9686 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.933, allocations: 7.906 kB / 0.9686 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.9343, allocations: 0.9383 MB / 0.9695 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.9344, allocations: 176 kB / 0.9697 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-05/0.9345, allocations: 11.81 kB / 0.9697 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.9349, allocations: 35.52 kB / 0.9698 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.935, allocations: 51.67 kB / 0.9698 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.9351, allocations: 16.78 kB / 0.9698 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002878/0.9354, allocations: 348.3 kB / 0.9702 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9354, allocations: 0 / 0.9702 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004828/0.9359, allocations: 150.1 kB / 0.9703 GB, free: 185.2 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.001731/0.9376, allocations: 1.574 MB / 0.9718 GB, free: 183.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009605/0.9386, allocations: 0.5836 MB / 0.9724 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9386, allocations: 0 / 0.9724 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000534/0.9391, allocations: 293.1 kB / 0.9727 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.9403, allocations: 285.7 kB / 0.973 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005341/0.9457, allocations: 5.026 MB / 0.9779 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.9459, allocations: 0.8704 MB / 0.9787 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003889/0.9463, allocations: 124.6 kB / 0.9788 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.9465, allocations: 179.4 kB / 0.979 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of SimCode: time 3.6e-07/0.9465, allocations: 0 / 0.979 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03687/0.9834, allocations: 15.87 MB / 0.9945 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.371/9.355, allocations: 10.55 kB / 0.9945 GB, free: 160.6 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)