Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.8/1.8, allocations: 292.6 MB / 307.5 MB, free: 5.168 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.001676/0.001676, allocations: 185 kB / 377.1 MB, free: 1.504 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.172/2.172, allocations: 205.4 MB / 0.6366 GB, free: 9.574 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.0009465/0.0009466, allocations: 99.91 kB / 0.7509 GB, free: 62.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004009, allocations: 12 kB / 0.8749 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3499, allocations: 116.3 MB / 0.9884 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.972/6.322, allocations: 2.064 GB / 3.053 GB, free: 117.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/6.322, allocations: 93.06 kB / 3.053 GB, free: 117.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.474/7.796, allocations: 426.5 MB / 3.469 GB, free: 66.47 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.006e-06/7.797, allocations: 0 / 3.469 GB, free: 66.47 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.517e-05/7.797, allocations: 16 kB / 3.469 GB, free: 66.45 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.003377/7.8, allocations: 1.079 MB / 3.47 GB, free: 65.31 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.767e-05/7.8, allocations: 12.03 kB / 3.47 GB, free: 65.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002667/7.8, allocations: 78.53 kB / 3.47 GB, free: 65.21 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002463/7.803, allocations: 280.1 kB / 3.471 GB, free: 64.94 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/7.804, allocations: 471.4 kB / 3.471 GB, free: 64.44 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.492e-05/7.804, allocations: 37 kB / 3.471 GB, free: 64.41 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/7.804, allocations: 48 kB / 3.471 GB, free: 64.36 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009802/7.805, allocations: 0.5477 MB / 3.472 GB, free: 63.78 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/7.805, allocations: 0 / 3.472 GB, free: 63.78 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.394e-05/7.805, allocations: 16.86 kB / 3.472 GB, free: 63.76 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/7.805, allocations: 12 kB / 3.472 GB, free: 63.75 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009068/7.806, allocations: 471.6 kB / 3.472 GB, free: 63.29 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.002402/7.809, allocations: 2.151 MB / 3.474 GB, free: 61.01 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008641/7.81, allocations: 419 kB / 3.475 GB, free: 60.59 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006667/7.81, allocations: 397.5 kB / 3.475 GB, free: 60.13 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005766/7.811, allocations: 299.6 kB / 3.475 GB, free: 59.82 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 3.066e-06/7.811, allocations: 0 / 3.475 GB, free: 59.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.001777/7.813, allocations: 0.7071 MB / 3.476 GB, free: 59.11 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/7.813, allocations: 59.39 kB / 3.476 GB, free: 59.04 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005043/7.813, allocations: 433.2 kB / 3.476 GB, free: 58.61 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/7.813, allocations: 37.69 kB / 3.476 GB, free: 58.56 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/7.813, allocations: 256.5 kB / 3.477 GB, free: 58.31 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/7.814, allocations: 122.3 kB / 3.477 GB, free: 58.19 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/7.814, allocations: 12 kB / 3.477 GB, free: 58.18 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001478/7.814, allocations: 366.7 kB / 3.477 GB, free: 57.81 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/7.814, allocations: 208.8 kB / 3.477 GB, free: 57.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/7.815, allocations: 339.5 kB / 3.478 GB, free: 57.21 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/7.815, allocations: 283.2 kB / 3.478 GB, free: 56.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/7.815, allocations: 4 kB / 3.478 GB, free: 56.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001099/7.816, allocations: 0.6709 MB / 3.479 GB, free: 56.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.595e-05/7.816, allocations: 63.41 kB / 3.479 GB, free: 56.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/7.816, allocations: 11.88 kB / 3.479 GB, free: 56.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/7.816, allocations: 4 kB / 3.479 GB, free: 56.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/7.817, allocations: 99.88 kB / 3.479 GB, free: 56.05 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/7.817, allocations: 8.156 kB / 3.479 GB, free: 56.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006293/7.818, allocations: 99.38 kB / 3.479 GB, free: 55.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.239e-05/7.818, allocations: 23.98 kB / 3.479 GB, free: 55.92 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.0002254/7.818, allocations: 201.6 kB / 3.479 GB, free: 55.71 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.53e-05/7.818, allocations: 51.34 kB / 3.479 GB, free: 55.66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/7.819, allocations: 0.5535 MB / 3.48 GB, free: 55.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/7.819, allocations: 8 kB / 3.48 GB, free: 55.09 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/7.819, allocations: 0 / 3.48 GB, free: 55.09 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/7.819, allocations: 0 / 3.48 GB, free: 55.09 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/7.821, allocations: 1.364 MB / 3.481 GB, free: 53.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/7.821, allocations: 8 kB / 3.481 GB, free: 53.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003875/7.822, allocations: 75.89 kB / 3.481 GB, free: 53.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/7.822, allocations: 11.98 kB / 3.481 GB, free: 53.54 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/7.822, allocations: 8 kB / 3.481 GB, free: 53.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/7.822, allocations: 20.17 kB / 3.481 GB, free: 53.51 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/7.822, allocations: 4 kB / 3.481 GB, free: 53.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/7.823, allocations: 1.117 MB / 3.482 GB, free: 52.23 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/7.823, allocations: 168.4 kB / 3.482 GB, free: 52.05 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.523e-05/7.824, allocations: 11.98 kB / 3.482 GB, free: 52.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004789/7.824, allocations: 52.02 kB / 3.482 GB, free: 51.99 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/7.824, allocations: 55.83 kB / 3.483 GB, free: 51.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/7.824, allocations: 12 kB / 3.483 GB, free: 51.92 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003668/7.825, allocations: 350.8 kB / 3.483 GB, free: 51.58 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.172e-06/7.825, allocations: 0 / 3.483 GB, free: 51.58 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001143/7.826, allocations: 291.8 kB / 3.483 GB, free: 51.3 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.004045/7.83, allocations: 3.985 MB / 3.487 GB, free: 47.14 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001126/7.831, allocations: 0.6004 MB / 3.488 GB, free: 46.52 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/7.831, allocations: 0 / 3.488 GB, free: 46.52 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005742/7.831, allocations: 303.4 kB / 3.488 GB, free: 46.22 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/7.833, allocations: 279.7 kB / 3.488 GB, free: 45.95 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005043/7.838, allocations: 5.147 MB / 3.493 GB, free: 40.66 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/7.838, allocations: 0.8746 MB / 3.494 GB, free: 39.75 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005673/7.839, allocations: 128.7 kB / 3.494 GB, free: 39.63 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/7.839, allocations: 175.4 kB / 3.494 GB, free: 39.46 MB / 0.948 GB Notification: Performance of SimCode: time 1.382e-06/7.839, allocations: 0 / 3.494 GB, free: 39.46 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05823/7.897, allocations: 37.12 MB / 3.531 GB, free: 2.52 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/7.898, allocations: 228.3 kB / 3.531 GB, free: 2.266 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.654/11.55, allocations: 0 / 3.531 GB, free: 2.266 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)