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.981/1.981, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.00107/0.00107, allocations: 176.9 kB / 361.4 MB, free: 6.875 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.637/1.637, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0009252/0.0009252, allocations: 93.81 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.558e-05/2.554e-05, allocations: 7.984 kB / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7489/0.7489, allocations: 115.3 MB / 0.9644 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.827/5.576, allocations: 2.062 GB / 3.027 GB, free: 53.27 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/5.576, allocations: 90.92 kB / 3.027 GB, free: 53.23 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.379/6.955, allocations: 420.8 MB / 3.438 GB, free: 20.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.814e-06/6.955, allocations: 0 / 3.438 GB, free: 20.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.693e-05/6.955, allocations: 28.08 kB / 3.438 GB, free: 20.27 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.002379/6.958, allocations: 0.9965 MB / 3.439 GB, free: 19.22 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/6.958, allocations: 12.03 kB / 3.439 GB, free: 19.21 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/6.96, allocations: 279 kB / 3.439 GB, free: 18.93 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009986/6.961, allocations: 456.4 kB / 3.44 GB, free: 18.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/6.961, allocations: 15.94 kB / 3.44 GB, free: 18.43 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/6.961, allocations: 32 kB / 3.44 GB, free: 18.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005653/6.962, allocations: 330.5 kB / 3.44 GB, free: 18.08 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006642/6.962, allocations: 437.1 kB / 3.44 GB, free: 17.62 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/6.962, allocations: 0 / 3.44 GB, free: 17.62 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/6.962, allocations: 7.953 kB / 3.44 GB, free: 17.61 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/6.962, allocations: 15.98 kB / 3.44 GB, free: 17.59 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.002246/6.965, allocations: 2.024 MB / 3.442 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004837/6.965, allocations: 298.7 kB / 3.443 GB, free: 15.15 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/6.965, allocations: 168.7 kB / 3.443 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005618/6.966, allocations: 396.9 kB / 3.443 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003105/6.966, allocations: 227.2 kB / 3.443 GB, free: 14.29 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 1.933e-06/6.966, allocations: 0 / 3.443 GB, free: 14.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.001059/6.967, allocations: 444.4 kB / 3.444 GB, free: 13.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/6.967, allocations: 71.34 kB / 3.444 GB, free: 13.76 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/6.968, allocations: 301.2 kB / 3.444 GB, free: 13.46 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/6.968, allocations: 29.7 kB / 3.444 GB, free: 13.42 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/6.968, allocations: 271.9 kB / 3.445 GB, free: 13.15 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.202e-05/6.968, allocations: 122.2 kB / 3.445 GB, free: 13.03 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/6.968, allocations: 7.938 kB / 3.445 GB, free: 13.02 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.034e-05/6.968, allocations: 358.8 kB / 3.445 GB, free: 12.66 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/6.968, allocations: 137 kB / 3.445 GB, free: 12.53 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/6.969, allocations: 265.7 kB / 3.445 GB, free: 12.22 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004298/6.969, allocations: 219.7 kB / 3.446 GB, free: 12.01 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/6.969, allocations: 0 / 3.446 GB, free: 12.01 MB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008174/6.97, allocations: 0.5006 MB / 3.446 GB, free: 11.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/6.97, allocations: 59.41 kB / 3.446 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/6.97, allocations: 4 kB / 3.446 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.984e-05/6.97, allocations: 8.359 kB / 3.446 GB, free: 11.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004354/6.97, allocations: 103.8 kB / 3.446 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/6.97, allocations: 11.98 kB / 3.446 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005321/6.971, allocations: 75.5 kB / 3.446 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.38e-05/6.971, allocations: 27.98 kB / 3.446 GB, free: 11.2 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.000116/6.971, allocations: 125.1 kB / 3.446 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006664/6.972, allocations: 412.5 kB / 3.447 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-05/6.972, allocations: 43.44 kB / 3.447 GB, free: 10.62 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007874/6.973, allocations: 473.9 kB / 3.447 GB, free: 10.15 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/6.973, allocations: 4 kB / 3.447 GB, free: 10.15 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/6.973, allocations: 3.953 kB / 3.447 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/6.973, allocations: 0 / 3.447 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/6.974, allocations: 1.197 MB / 3.449 GB, free: 8.859 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/6.974, allocations: 8 kB / 3.449 GB, free: 8.852 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/6.975, allocations: 83.86 kB / 3.449 GB, free: 8.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/6.975, allocations: 8 kB / 3.449 GB, free: 8.762 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/6.975, allocations: 4 kB / 3.449 GB, free: 8.758 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/6.975, allocations: 4 kB / 3.449 GB, free: 8.754 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/6.975, allocations: 11.88 kB / 3.449 GB, free: 8.742 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/6.976, allocations: 0.9967 MB / 3.45 GB, free: 7.594 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/6.976, allocations: 156.4 kB / 3.45 GB, free: 7.422 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.591e-05/6.976, allocations: 4 kB / 3.45 GB, free: 7.418 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/6.977, allocations: 52 kB / 3.45 GB, free: 7.367 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/6.977, allocations: 55.83 kB / 3.45 GB, free: 7.312 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/6.977, allocations: 12 kB / 3.45 GB, free: 7.301 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001835/6.977, allocations: 239 kB / 3.45 GB, free: 7.07 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/6.977, allocations: 0 / 3.45 GB, free: 7.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008132/6.978, allocations: 243.7 kB / 3.45 GB, free: 6.832 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.003414/6.981, allocations: 4.04 MB / 3.454 GB, free: 2.617 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005811/6.982, allocations: 462.5 kB / 3.455 GB, free: 2.141 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/6.982, allocations: 0 / 3.455 GB, free: 2.141 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003829/6.982, allocations: 231.7 kB / 3.455 GB, free: 1.914 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009379/6.983, allocations: 187 kB / 3.455 GB, free: 1.738 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/6.985, allocations: 0.8906 MB / 3.456 GB, free: 0.7617 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5035/7.488, allocations: 0.879 MB / 3.457 GB, free: 225.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007012/7.489, allocations: 110.2 kB / 3.457 GB, free: 225.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/7.489, allocations: 174.7 kB / 3.457 GB, free: 225.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.743e-06/7.49, allocations: 1.156 kB / 3.457 GB, free: 225.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05627/7.546, allocations: 22.74 MB / 3.479 GB, free: 225 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/7.546, allocations: 181.8 kB / 3.479 GB, free: 224.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.715/10.26, allocations: 0 / 3.479 GB, free: 224.8 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)