Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.643/2.643, allocations: 287.3 MB / 302.3 MB, free: 8.246 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.00153/0.00153, allocations: 183.9 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.243/2.243, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 100.1 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004903/0.0004904, allocations: 12.67 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2082, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.789/6.997, allocations: 2.063 GB / 3.041 GB, free: 211.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003676/6.998, allocations: 87.14 kB / 3.041 GB, free: 211.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.071/9.069, allocations: 426.5 MB / 3.458 GB, free: 167.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.116e-06/9.069, allocations: 0 / 3.458 GB, free: 167.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.982e-05/9.069, allocations: 19.98 kB / 3.458 GB, free: 167.3 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.003416/9.072, allocations: 1.073 MB / 3.459 GB, free: 166.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/9.072, allocations: 16.03 kB / 3.459 GB, free: 166.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001783/9.072, allocations: 78.52 kB / 3.459 GB, free: 166.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003265/9.076, allocations: 282.9 kB / 3.459 GB, free: 165.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/9.077, allocations: 469.5 kB / 3.46 GB, free: 165.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.472e-05/9.077, allocations: 33 kB / 3.46 GB, free: 165.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/9.077, allocations: 44 kB / 3.46 GB, free: 165.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/9.079, allocations: 0.5547 MB / 3.46 GB, free: 164.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/9.079, allocations: 0 / 3.46 GB, free: 164.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.738e-05/9.079, allocations: 19.94 kB / 3.46 GB, free: 164.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/9.079, allocations: 12 kB / 3.46 GB, free: 164.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/9.081, allocations: 463.6 kB / 3.461 GB, free: 164.2 MB / 0.948 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.003886/9.085, allocations: 2.139 MB / 3.463 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/9.087, allocations: 426.4 kB / 3.463 GB, free: 161.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008907/9.087, allocations: 393.8 kB / 3.464 GB, free: 161 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009775/9.088, allocations: 307.7 kB / 3.464 GB, free: 160.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 3.707e-06/9.088, allocations: 0 / 3.464 GB, free: 160.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.003171/9.092, allocations: 0.7071 MB / 3.465 GB, free: 160 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.727e-05/9.092, allocations: 59.41 kB / 3.465 GB, free: 159.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/9.093, allocations: 437.2 kB / 3.465 GB, free: 159.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/9.093, allocations: 33.7 kB / 3.465 GB, free: 159.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00022/9.094, allocations: 264.3 kB / 3.465 GB, free: 159.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/9.094, allocations: 122.3 kB / 3.466 GB, free: 159.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/9.094, allocations: 12 kB / 3.466 GB, free: 159 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001073/9.094, allocations: 358.8 kB / 3.466 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008387/9.095, allocations: 208.8 kB / 3.466 GB, free: 158.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000896/9.096, allocations: 342.6 kB / 3.466 GB, free: 158.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000879/9.097, allocations: 283.9 kB / 3.467 GB, free: 157.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/9.097, allocations: 7.953 kB / 3.467 GB, free: 157.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002103/9.099, allocations: 0.6685 MB / 3.467 GB, free: 157.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.314e-05/9.099, allocations: 63.39 kB / 3.467 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/9.099, allocations: 0 / 3.467 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.86e-05/9.099, allocations: 8 kB / 3.467 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000856/9.1, allocations: 103.8 kB / 3.468 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/9.1, allocations: 11.94 kB / 3.468 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/9.101, allocations: 103.4 kB / 3.468 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.575e-05/9.101, allocations: 20 kB / 3.468 GB, free: 156.8 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 () * 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.0003871/9.101, allocations: 193.7 kB / 3.468 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/9.102, allocations: 55.3 kB / 3.468 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/9.104, allocations: 0.5613 MB / 3.468 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/9.104, allocations: 4 kB / 3.468 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/9.104, allocations: 4 kB / 3.468 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/9.104, allocations: 3.984 kB / 3.468 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003474/9.107, allocations: 1.348 MB / 3.47 GB, free: 154.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/9.107, allocations: 4 kB / 3.47 GB, free: 154.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007581/9.108, allocations: 83.88 kB / 3.47 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/9.108, allocations: 8 kB / 3.47 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-05/9.108, allocations: 11.95 kB / 3.47 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.125e-05/9.108, allocations: 11.94 kB / 3.47 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/9.108, allocations: 8.156 kB / 3.47 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002863/9.111, allocations: 1.117 MB / 3.471 GB, free: 153.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004435/9.111, allocations: 172.3 kB / 3.471 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/9.112, allocations: 8 kB / 3.471 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008711/9.113, allocations: 56 kB / 3.471 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/9.113, allocations: 51.83 kB / 3.471 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/9.113, allocations: 16 kB / 3.471 GB, free: 152.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006369/9.113, allocations: 342.8 kB / 3.472 GB, free: 152.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-07/9.113, allocations: 4 kB / 3.472 GB, free: 152.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001426/9.115, allocations: 283.9 kB / 3.472 GB, free: 152.2 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) * 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.005649/9.121, allocations: 4.002 MB / 3.476 GB, free: 148 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002037/9.123, allocations: 0.5933 MB / 3.476 GB, free: 147.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/9.123, allocations: 0 / 3.476 GB, free: 147.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/9.124, allocations: 300.7 kB / 3.477 GB, free: 147.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/9.126, allocations: 269 kB / 3.477 GB, free: 146.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00823/9.134, allocations: 5.151 MB / 3.482 GB, free: 141.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/9.135, allocations: 0.8824 MB / 3.483 GB, free: 140.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009187/9.136, allocations: 124.7 kB / 3.483 GB, free: 140.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003957/9.136, allocations: 179.3 kB / 3.483 GB, free: 140.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.182e-06/9.136, allocations: 0 / 3.483 GB, free: 140.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08482/9.221, allocations: 37.12 MB / 3.519 GB, free: 103.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/9.221, allocations: 226.7 kB / 3.52 GB, free: 103.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.27/13.49, allocations: 0 / 3.52 GB, free: 103.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)