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.618/1.618, allocations: 249.3 MB / 261.8 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 184.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.0009175/0.0009173, allocations: 86.47 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.532e-05/4.536e-05, allocations: 4 kB / 0.788 GB, free: 97.05 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.24, allocations: 106.3 MB / 0.8919 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.518/5.758, allocations: 2.181 GB / 3.073 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000385/5.759, allocations: 87.08 kB / 3.073 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.342/7.101, allocations: 412.4 MB / 3.476 GB, free: 79.07 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.184e-06/7.101, allocations: 0 / 3.476 GB, free: 79.07 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.121e-05/7.101, allocations: 23.92 kB / 3.476 GB, free: 79.05 MB / 0.8698 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.002127/7.103, allocations: 0.9876 MB / 3.477 GB, free: 78.01 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.705e-05/7.104, allocations: 12.02 kB / 3.477 GB, free: 78 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/7.104, allocations: 78.53 kB / 3.477 GB, free: 77.91 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/7.106, allocations: 278.9 kB / 3.477 GB, free: 77.64 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009221/7.107, allocations: 468.1 kB / 3.478 GB, free: 77.13 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/7.107, allocations: 32.98 kB / 3.478 GB, free: 77.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.063e-05/7.107, allocations: 48 kB / 3.478 GB, free: 77.05 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007392/7.108, allocations: 0.4918 MB / 3.478 GB, free: 76.53 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/7.108, allocations: 3.938 kB / 3.478 GB, free: 76.52 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.182e-05/7.108, allocations: 16 kB / 3.478 GB, free: 76.51 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/7.108, allocations: 8 kB / 3.478 GB, free: 76.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005037/7.108, allocations: 350.9 kB / 3.479 GB, free: 76.16 MB / 0.8698 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.002317/7.11, allocations: 2.146 MB / 3.481 GB, free: 73.88 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005411/7.111, allocations: 319.2 kB / 3.481 GB, free: 73.56 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/7.111, allocations: 176.8 kB / 3.481 GB, free: 73.38 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005953/7.112, allocations: 396.3 kB / 3.482 GB, free: 72.92 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003859/7.112, allocations: 247 kB / 3.482 GB, free: 72.67 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 4.599e-06/7.112, allocations: 0 / 3.482 GB, free: 72.67 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.0009684/7.113, allocations: 413.5 kB / 3.482 GB, free: 72.26 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/7.113, allocations: 63.39 kB / 3.482 GB, free: 72.18 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004829/7.114, allocations: 427.9 kB / 3.483 GB, free: 71.75 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/7.114, allocations: 37.7 kB / 3.483 GB, free: 71.71 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/7.114, allocations: 260.4 kB / 3.483 GB, free: 71.45 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.3e-05/7.114, allocations: 122.3 kB / 3.483 GB, free: 71.33 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/7.114, allocations: 8 kB / 3.483 GB, free: 71.32 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001238/7.114, allocations: 374.7 kB / 3.484 GB, free: 70.95 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/7.115, allocations: 145 kB / 3.484 GB, free: 70.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/7.115, allocations: 274.8 kB / 3.484 GB, free: 70.49 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/7.115, allocations: 235 kB / 3.484 GB, free: 70.25 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/7.115, allocations: 0 / 3.484 GB, free: 70.25 MB / 0.8698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007398/7.116, allocations: 0.5546 MB / 3.485 GB, free: 69.67 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/7.116, allocations: 59.41 kB / 3.485 GB, free: 69.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/7.116, allocations: 4 kB / 3.485 GB, free: 69.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/7.116, allocations: 4 kB / 3.485 GB, free: 69.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/7.116, allocations: 104.2 kB / 3.485 GB, free: 69.49 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/7.116, allocations: 11.94 kB / 3.485 GB, free: 69.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006156/7.117, allocations: 95.38 kB / 3.485 GB, free: 69.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/7.117, allocations: 23.98 kB / 3.485 GB, free: 69.36 MB / 0.8698 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.0001332/7.117, allocations: 140.1 kB / 3.485 GB, free: 69.22 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.446e-05/7.117, allocations: 51.34 kB / 3.485 GB, free: 69.17 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007933/7.118, allocations: 462 kB / 3.486 GB, free: 68.71 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/7.118, allocations: 4 kB / 3.486 GB, free: 68.71 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/7.118, allocations: 0 / 3.486 GB, free: 68.71 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.956e-06/7.118, allocations: 3.984 kB / 3.486 GB, free: 68.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/7.12, allocations: 1.236 MB / 3.487 GB, free: 67.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/7.12, allocations: 4 kB / 3.487 GB, free: 67.36 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003855/7.12, allocations: 88.25 kB / 3.487 GB, free: 67.28 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/7.12, allocations: 11.98 kB / 3.487 GB, free: 67.27 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/7.12, allocations: 16 kB / 3.487 GB, free: 67.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/7.12, allocations: 4 kB / 3.487 GB, free: 67.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/7.12, allocations: 15.92 kB / 3.487 GB, free: 67.23 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/7.121, allocations: 0.9456 MB / 3.488 GB, free: 66.13 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/7.122, allocations: 172.3 kB / 3.488 GB, free: 65.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-05/7.122, allocations: 12 kB / 3.488 GB, free: 65.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004918/7.122, allocations: 56.02 kB / 3.488 GB, free: 65.88 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/7.122, allocations: 55.81 kB / 3.488 GB, free: 65.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/7.122, allocations: 16 kB / 3.488 GB, free: 65.81 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003322/7.123, allocations: 333.5 kB / 3.488 GB, free: 65.49 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.01e-07/7.123, allocations: 0 / 3.488 GB, free: 65.49 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001279/7.124, allocations: 291.8 kB / 3.489 GB, free: 65.2 MB / 0.8698 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.003281/7.127, allocations: 3.815 MB / 3.492 GB, free: 61.21 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007082/7.128, allocations: 498.2 kB / 3.493 GB, free: 60.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/7.128, allocations: 0 / 3.493 GB, free: 60.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003753/7.128, allocations: 245.2 kB / 3.493 GB, free: 60.46 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/7.13, allocations: 269.5 kB / 3.493 GB, free: 60.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/7.132, allocations: 0.9462 MB / 3.494 GB, free: 59.18 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/7.132, allocations: 0.8862 MB / 3.495 GB, free: 58.26 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005194/7.132, allocations: 120.7 kB / 3.495 GB, free: 58.14 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/7.133, allocations: 175.3 kB / 3.496 GB, free: 57.97 MB / 0.8698 GB Notification: Performance of SimCode: time 8.92e-07/7.133, allocations: 4 kB / 3.496 GB, free: 57.97 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05999/7.193, allocations: 41.09 MB / 3.536 GB, free: 17.02 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/7.193, allocations: 212.1 kB / 3.536 GB, free: 16.78 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.497/10.69, allocations: 0 / 3.536 GB, free: 16.78 MB / 0.8698 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)