Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.604/1.604, allocations: 285.4 MB / 298 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 168.9 kB / 366.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.1 MB / 0.6248 GB, free: 7.715 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008606/0.0008608, allocations: 87.03 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.092e-05/3.095e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6838/0.6839, allocations: 115.3 MB / 0.971 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.969/5.653, allocations: 2.063 GB / 3.034 GB, free: 30.53 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003535/5.654, allocations: 82.2 kB / 3.034 GB, free: 30.49 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.156/7.809, allocations: 426.1 MB / 3.45 GB, free: 225.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.826e-06/7.809, allocations: 0 / 3.45 GB, free: 225.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.785e-05/7.81, allocations: 16.2 kB / 3.45 GB, free: 225.6 MB / 0.948 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.002738/7.812, allocations: 0.9922 MB / 3.451 GB, free: 225.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.601e-05/7.812, allocations: 10.12 kB / 3.451 GB, free: 225.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001355/7.812, allocations: 80.27 kB / 3.451 GB, free: 225.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002099/7.815, allocations: 286.6 kB / 3.452 GB, free: 225.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008898/7.815, allocations: 460.6 kB / 3.452 GB, free: 224.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/7.816, allocations: 33.03 kB / 3.452 GB, free: 224.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.106e-05/7.816, allocations: 46.28 kB / 3.452 GB, free: 224.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008455/7.816, allocations: 0.4884 MB / 3.453 GB, free: 224.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/7.817, allocations: 1.156 kB / 3.453 GB, free: 224.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.785e-05/7.817, allocations: 18.09 kB / 3.453 GB, free: 224.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/7.817, allocations: 9.719 kB / 3.453 GB, free: 224.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006551/7.817, allocations: 348.6 kB / 3.453 GB, free: 224.7 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.002548/7.82, allocations: 2.148 MB / 3.455 GB, free: 223.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006401/7.82, allocations: 320.9 kB / 3.455 GB, free: 223.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/7.821, allocations: 172 kB / 3.455 GB, free: 223.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005929/7.821, allocations: 395.1 kB / 3.456 GB, free: 223.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003969/7.822, allocations: 240.2 kB / 3.456 GB, free: 223 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 2.915e-06/7.822, allocations: 0 / 3.456 GB, free: 223 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.0009999/7.823, allocations: 424 kB / 3.456 GB, free: 223 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/7.823, allocations: 55.5 kB / 3.457 GB, free: 222.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005031/7.823, allocations: 433.7 kB / 3.457 GB, free: 222.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/7.823, allocations: 32.92 kB / 3.457 GB, free: 222.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/7.824, allocations: 265.6 kB / 3.457 GB, free: 222.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.118e-05/7.824, allocations: 120.5 kB / 3.457 GB, free: 222.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/7.824, allocations: 10.22 kB / 3.457 GB, free: 222.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001002/7.824, allocations: 366.5 kB / 3.458 GB, free: 222.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/7.824, allocations: 150.8 kB / 3.458 GB, free: 222.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/7.824, allocations: 276 kB / 3.458 GB, free: 222.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/7.825, allocations: 231.8 kB / 3.458 GB, free: 222.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/7.825, allocations: 3.5 kB / 3.458 GB, free: 222.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008017/7.826, allocations: 0.5478 MB / 3.459 GB, free: 221.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.457e-05/7.826, allocations: 66.98 kB / 3.459 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/7.826, allocations: 0.6562 kB / 3.459 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/7.826, allocations: 15.47 kB / 3.459 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/7.826, allocations: 103.5 kB / 3.459 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/7.826, allocations: 6.344 kB / 3.459 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005958/7.827, allocations: 96.31 kB / 3.459 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.953e-05/7.827, allocations: 17.88 kB / 3.459 GB, free: 221.9 MB / 0.948 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 () * 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.0001181/7.827, allocations: 148.4 kB / 3.459 GB, free: 221.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/7.827, allocations: 55.62 kB / 3.459 GB, free: 221.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000737/7.828, allocations: 451.8 kB / 3.46 GB, free: 221.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/7.828, allocations: 3.969 kB / 3.46 GB, free: 221.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/7.828, allocations: 1.562 kB / 3.46 GB, free: 221.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/7.828, allocations: 3.281 kB / 3.46 GB, free: 221.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/7.83, allocations: 1.24 MB / 3.461 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/7.83, allocations: 6.641 kB / 3.461 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/7.83, allocations: 88.81 kB / 3.461 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/7.83, allocations: 4.469 kB / 3.461 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/7.83, allocations: 14.84 kB / 3.461 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/7.83, allocations: 4.938 kB / 3.461 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/7.83, allocations: 6.562 kB / 3.461 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009682/7.831, allocations: 0.9545 MB / 3.462 GB, free: 220.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/7.831, allocations: 171.7 kB / 3.462 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.701e-05/7.831, allocations: 22.45 kB / 3.462 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004595/7.832, allocations: 45.73 kB / 3.462 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/7.832, allocations: 56.92 kB / 3.462 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/7.832, allocations: 15.47 kB / 3.462 GB, free: 220.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003148/7.832, allocations: 331.7 kB / 3.463 GB, free: 220.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/7.832, allocations: 0 / 3.463 GB, free: 220.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001101/7.833, allocations: 296.6 kB / 3.463 GB, free: 220.5 MB / 0.948 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) * 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.00331/7.837, allocations: 3.821 MB / 3.467 GB, free: 218.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007278/7.837, allocations: 497.4 kB / 3.467 GB, free: 218.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/7.837, allocations: 0 / 3.467 GB, free: 218.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003975/7.838, allocations: 243.5 kB / 3.467 GB, free: 218.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/7.839, allocations: 266.4 kB / 3.468 GB, free: 218.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/7.841, allocations: 0.9483 MB / 3.469 GB, free: 217.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/7.841, allocations: 0.8814 MB / 3.469 GB, free: 217 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005032/7.842, allocations: 121.8 kB / 3.47 GB, free: 217 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/7.842, allocations: 174.5 kB / 3.47 GB, free: 217 MB / 0.948 GB Notification: Performance of SimCode: time 8.72e-07/7.842, allocations: 0 / 3.47 GB, free: 217 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08949/7.932, allocations: 41.12 MB / 3.51 GB, free: 216.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/7.932, allocations: 196.9 kB / 3.51 GB, free: 216.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.254/11.19, allocations: 3.25 kB / 3.51 GB, free: 216.4 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)