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: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.641/1.641, allocations: 289.7 MB / 302.2 MB, free: 2.18 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.001199/0.001199, allocations: 178.2 kB / 371.6 MB, free: 3.352 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.1 MB / 0.6309 GB, free: 11.74 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.0009149/0.0009151, allocations: 91.48 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.562e-05/4.572e-05, allocations: 8 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3018, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.137/6.439, allocations: 2.064 GB / 3.044 GB, free: 137.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/6.439, allocations: 86.89 kB / 3.044 GB, free: 137.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.521/7.961, allocations: 426.1 MB / 3.46 GB, free: 91.91 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.813e-06/7.961, allocations: 0 / 3.46 GB, free: 91.91 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.222e-05/7.961, allocations: 23.98 kB / 3.46 GB, free: 91.89 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.002043/7.963, allocations: 0.9992 MB / 3.461 GB, free: 90.83 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/7.963, allocations: 8.031 kB / 3.461 GB, free: 90.82 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/7.965, allocations: 279 kB / 3.461 GB, free: 90.55 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007744/7.966, allocations: 452.3 kB / 3.462 GB, free: 90.07 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/7.966, allocations: 33 kB / 3.462 GB, free: 90.04 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.916e-05/7.966, allocations: 44 kB / 3.462 GB, free: 89.99 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000726/7.967, allocations: 0.4926 MB / 3.462 GB, free: 89.46 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/7.967, allocations: 4 kB / 3.462 GB, free: 89.46 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/7.967, allocations: 16 kB / 3.462 GB, free: 89.45 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/7.967, allocations: 13.2 kB / 3.462 GB, free: 89.43 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/7.967, allocations: 346.9 kB / 3.463 GB, free: 89.1 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.002133/7.969, allocations: 2.153 MB / 3.465 GB, free: 86.81 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/7.97, allocations: 318.5 kB / 3.465 GB, free: 86.49 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/7.97, allocations: 174.9 kB / 3.465 GB, free: 86.32 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005696/7.971, allocations: 400.3 kB / 3.466 GB, free: 85.86 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000341/7.971, allocations: 242.9 kB / 3.466 GB, free: 85.61 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 3.066e-06/7.971, allocations: 0 / 3.466 GB, free: 85.61 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.0008361/7.972, allocations: 417.3 kB / 3.466 GB, free: 85.19 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/7.972, allocations: 59.41 kB / 3.466 GB, free: 85.12 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003796/7.972, allocations: 419.9 kB / 3.467 GB, free: 84.71 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/7.972, allocations: 37.7 kB / 3.467 GB, free: 84.66 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/7.972, allocations: 268.4 kB / 3.467 GB, free: 84.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.519e-05/7.973, allocations: 134.1 kB / 3.467 GB, free: 84.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/7.973, allocations: 4 kB / 3.467 GB, free: 84.26 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.194e-05/7.973, allocations: 366.7 kB / 3.467 GB, free: 83.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/7.973, allocations: 152.9 kB / 3.468 GB, free: 83.75 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/7.973, allocations: 274.8 kB / 3.468 GB, free: 83.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/7.973, allocations: 231.2 kB / 3.468 GB, free: 83.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/7.973, allocations: 0 / 3.468 GB, free: 83.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007205/7.974, allocations: 0.5444 MB / 3.469 GB, free: 82.63 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/7.974, allocations: 63.39 kB / 3.469 GB, free: 82.56 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/7.974, allocations: 4 kB / 3.469 GB, free: 82.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/7.974, allocations: 4 kB / 3.469 GB, free: 82.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/7.975, allocations: 108.1 kB / 3.469 GB, free: 82.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/7.975, allocations: 8 kB / 3.469 GB, free: 82.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005796/7.975, allocations: 95.41 kB / 3.469 GB, free: 82.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/7.975, allocations: 24 kB / 3.469 GB, free: 82.32 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.0001098/7.976, allocations: 138.5 kB / 3.469 GB, free: 82.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.124e-05/7.976, allocations: 59.33 kB / 3.469 GB, free: 82.12 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000696/7.976, allocations: 450 kB / 3.469 GB, free: 81.67 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/7.976, allocations: 4 kB / 3.469 GB, free: 81.67 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/7.976, allocations: 4 kB / 3.469 GB, free: 81.66 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/7.976, allocations: 0 / 3.469 GB, free: 81.66 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/7.978, allocations: 1.241 MB / 3.471 GB, free: 80.33 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/7.978, allocations: 7.953 kB / 3.471 GB, free: 80.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003921/7.978, allocations: 84.25 kB / 3.471 GB, free: 80.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/7.978, allocations: 8 kB / 3.471 GB, free: 80.23 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/7.978, allocations: 12 kB / 3.471 GB, free: 80.22 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/7.978, allocations: 4 kB / 3.471 GB, free: 80.21 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/7.978, allocations: 4 kB / 3.471 GB, free: 80.21 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009229/7.979, allocations: 0.962 MB / 3.472 GB, free: 79.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/7.979, allocations: 168.4 kB / 3.472 GB, free: 78.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.079e-05/7.98, allocations: 11.98 kB / 3.472 GB, free: 78.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004558/7.98, allocations: 56.02 kB / 3.472 GB, free: 78.85 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/7.98, allocations: 51.75 kB / 3.472 GB, free: 78.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/7.98, allocations: 19.92 kB / 3.472 GB, free: 78.78 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000331/7.981, allocations: 337.6 kB / 3.472 GB, free: 78.45 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.31e-07/7.981, allocations: 0 / 3.472 GB, free: 78.45 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001383/7.982, allocations: 295.7 kB / 3.473 GB, free: 78.16 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.002392/7.984, allocations: 1.473 MB / 3.474 GB, free: 76.62 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007889/7.985, allocations: 0.4905 MB / 3.475 GB, free: 76.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/7.985, allocations: 0 / 3.475 GB, free: 76.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003922/7.986, allocations: 237.2 kB / 3.475 GB, free: 75.87 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/7.987, allocations: 274.6 kB / 3.475 GB, free: 75.61 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/7.988, allocations: 0.8119 MB / 3.476 GB, free: 74.73 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/7.989, allocations: 0.8793 MB / 3.477 GB, free: 73.82 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004975/7.989, allocations: 124.7 kB / 3.477 GB, free: 73.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/7.989, allocations: 47.42 kB / 3.477 GB, free: 73.65 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/7.989, allocations: 0 / 3.477 GB, free: 73.65 MB / 0.948 GB Notification: Performance of Templates: time 0.03873/8.028, allocations: 31.15 MB / 3.507 GB, free: 42.57 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (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 & ./Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)