Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.488/1.488, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 185 kB / 326.5 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.156/2.156, allocations: 205.4 MB / 0.5775 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 94.11 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003972, allocations: 12.25 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3018, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.958/6.26, allocations: 2.181 GB / 3.082 GB, free: 39.34 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004166/6.26, allocations: 93.83 kB / 3.082 GB, free: 39.25 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.088/8.348, allocations: 412.8 MB / 3.485 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.644e-06/8.348, allocations: 1 kB / 3.485 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.881e-05/8.348, allocations: 21.42 kB / 3.485 GB, free: 213.9 MB / 0.8855 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.00272/8.351, allocations: 1.073 MB / 3.486 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.425e-05/8.351, allocations: 9.188 kB / 3.486 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/8.351, allocations: 80.23 kB / 3.486 GB, free: 213.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/8.353, allocations: 283.4 kB / 3.486 GB, free: 213.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009854/8.354, allocations: 464.6 kB / 3.487 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/8.354, allocations: 35.47 kB / 3.487 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.927e-05/8.354, allocations: 41.56 kB / 3.487 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/8.355, allocations: 0.5589 MB / 3.487 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/8.355, allocations: 0 / 3.487 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.068e-05/8.356, allocations: 17.88 kB / 3.487 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/8.356, allocations: 9.375 kB / 3.487 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/8.357, allocations: 472.9 kB / 3.488 GB, free: 213.1 MB / 0.8855 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.002612/8.359, allocations: 2.14 MB / 3.49 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/8.361, allocations: 418.2 kB / 3.49 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006477/8.361, allocations: 394.2 kB / 3.491 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006786/8.362, allocations: 299.9 kB / 3.491 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=37): time 3.136e-06/8.362, allocations: 1.062 kB / 3.491 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37): time 0.002056/8.364, allocations: 0.7103 MB / 3.492 GB, free: 211.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/8.364, allocations: 59.19 kB / 3.492 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006063/8.365, allocations: 441.8 kB / 3.492 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.508e-05/8.365, allocations: 34.05 kB / 3.492 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/8.365, allocations: 259.9 kB / 3.492 GB, free: 211 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/8.365, allocations: 131.6 kB / 3.492 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/8.365, allocations: 8.219 kB / 3.492 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001328/8.365, allocations: 365.2 kB / 3.493 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000515/8.366, allocations: 203.2 kB / 3.493 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005489/8.366, allocations: 346.8 kB / 3.493 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005465/8.367, allocations: 279.8 kB / 3.494 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/8.367, allocations: 1.25 kB / 3.494 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001241/8.368, allocations: 0.6677 MB / 3.494 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.411e-05/8.368, allocations: 68.91 kB / 3.494 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/8.368, allocations: 3.656 kB / 3.494 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/8.368, allocations: 3.5 kB / 3.494 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/8.369, allocations: 109.9 kB / 3.494 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/8.369, allocations: 3.344 kB / 3.494 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007334/8.37, allocations: 101.9 kB / 3.495 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.771e-05/8.37, allocations: 35.05 kB / 3.495 GB, free: 210.2 MB / 0.8855 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 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002729/8.37, allocations: 188.7 kB / 3.495 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/8.37, allocations: 55.72 kB / 3.495 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/8.371, allocations: 0.5451 MB / 3.495 GB, free: 210 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/8.371, allocations: 3.938 kB / 3.495 GB, free: 210 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/8.371, allocations: 3.938 kB / 3.495 GB, free: 210 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/8.371, allocations: 0 / 3.495 GB, free: 210 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/8.373, allocations: 1.36 MB / 3.497 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/8.373, allocations: 6.156 kB / 3.497 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004055/8.374, allocations: 74.48 kB / 3.497 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.729e-06/8.374, allocations: 11.58 kB / 3.497 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/8.374, allocations: 11.09 kB / 3.497 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/8.374, allocations: 12.84 kB / 3.497 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/8.374, allocations: 3.812 kB / 3.497 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/8.375, allocations: 1.124 MB / 3.498 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/8.376, allocations: 177.5 kB / 3.498 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.938e-05/8.376, allocations: 11.66 kB / 3.498 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004875/8.376, allocations: 56.25 kB / 3.498 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/8.377, allocations: 55.25 kB / 3.498 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/8.377, allocations: 20.12 kB / 3.498 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000402/8.377, allocations: 339.2 kB / 3.499 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.21e-07/8.377, allocations: 2.953 kB / 3.499 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001347/8.378, allocations: 291.1 kB / 3.499 GB, free: 208.9 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004835/8.383, allocations: 3.995 MB / 3.503 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001314/8.385, allocations: 0.6021 MB / 3.503 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/8.385, allocations: 0 / 3.503 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006494/8.385, allocations: 298.2 kB / 3.504 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/8.387, allocations: 266.6 kB / 3.504 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00586/8.392, allocations: 5.145 MB / 3.509 GB, free: 203.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/8.393, allocations: 0.8805 MB / 3.51 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006368/8.394, allocations: 126.4 kB / 3.51 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/8.394, allocations: 175.4 kB / 3.51 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of SimCode: time 6.92e-07/8.394, allocations: 0 / 3.51 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0842/8.478, allocations: 37.13 MB / 3.546 GB, free: 202.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/8.478, allocations: 223.9 kB / 3.546 GB, free: 202.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.437/11.92, allocations: 0 / 3.546 GB, free: 202.1 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)