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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 293 MB / 309 MB, free: 4.848 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.001359/0.001359, allocations: 175.3 kB / 378.7 MB, free: 1.062 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.714/1.714, allocations: 205.4 MB / 0.6383 GB, free: 8.246 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.0008052/0.0008052, allocations: 85.33 kB / 0.7527 GB, free: 62.74 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004396, allocations: 12 kB / 0.8768 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3553, allocations: 116.4 MB / 0.9904 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.047/6.403, allocations: 2.064 GB / 3.055 GB, free: 153.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003448/6.403, allocations: 88.47 kB / 3.055 GB, free: 153.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.712/8.115, allocations: 425.7 MB / 3.47 GB, free: 99.37 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.276e-06/8.115, allocations: 0 / 3.47 GB, free: 99.37 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.274e-05/8.115, allocations: 23.92 kB / 3.47 GB, free: 99.34 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.003221/8.119, allocations: 1.07 MB / 3.472 GB, free: 98.21 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/8.119, allocations: 8.031 kB / 3.472 GB, free: 98.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/8.121, allocations: 279.8 kB / 3.472 GB, free: 97.93 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/8.122, allocations: 483.5 kB / 3.472 GB, free: 97.42 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.287e-05/8.122, allocations: 33 kB / 3.472 GB, free: 97.39 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/8.123, allocations: 44 kB / 3.472 GB, free: 97.34 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/8.124, allocations: 0.5585 MB / 3.473 GB, free: 96.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/8.124, allocations: 0 / 3.473 GB, free: 96.75 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.926e-05/8.124, allocations: 16 kB / 3.473 GB, free: 96.74 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/8.124, allocations: 12 kB / 3.473 GB, free: 96.73 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/8.125, allocations: 467.6 kB / 3.473 GB, free: 96.27 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.003072/8.128, allocations: 2.143 MB / 3.475 GB, free: 94 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009283/8.129, allocations: 423 kB / 3.476 GB, free: 93.57 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004492/8.13, allocations: 233.9 kB / 3.476 GB, free: 93.34 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005857/8.13, allocations: 392.4 kB / 3.476 GB, free: 92.89 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005868/8.131, allocations: 298.9 kB / 3.477 GB, free: 92.58 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 4.839e-06/8.131, allocations: 7.922 kB / 3.477 GB, free: 92.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.00188/8.133, allocations: 0.709 MB / 3.477 GB, free: 91.86 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/8.133, allocations: 63.41 kB / 3.477 GB, free: 91.79 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006681/8.133, allocations: 486.1 kB / 3.478 GB, free: 91.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.447e-05/8.133, allocations: 37.7 kB / 3.478 GB, free: 91.26 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/8.134, allocations: 264.3 kB / 3.478 GB, free: 91 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/8.134, allocations: 118.3 kB / 3.478 GB, free: 90.88 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/8.134, allocations: 8 kB / 3.478 GB, free: 90.87 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000153/8.134, allocations: 371.5 kB / 3.479 GB, free: 90.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004537/8.134, allocations: 208.8 kB / 3.479 GB, free: 90.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/8.135, allocations: 342.6 kB / 3.479 GB, free: 89.91 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009716/8.136, allocations: 0.565 MB / 3.48 GB, free: 89.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/8.136, allocations: 3.938 kB / 3.48 GB, free: 89.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001311/8.137, allocations: 0.6592 MB / 3.48 GB, free: 88.62 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.682e-05/8.137, allocations: 65.73 kB / 3.48 GB, free: 88.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/8.137, allocations: 4 kB / 3.48 GB, free: 88.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.002e-05/8.137, allocations: 4 kB / 3.481 GB, free: 88.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/8.138, allocations: 112.1 kB / 3.481 GB, free: 88.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/8.138, allocations: 4 kB / 3.481 GB, free: 88.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007255/8.139, allocations: 95.38 kB / 3.481 GB, free: 88.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-05/8.139, allocations: 28 kB / 3.481 GB, free: 88.3 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.0003404/8.139, allocations: 195.4 kB / 3.481 GB, free: 88.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/8.139, allocations: 55.34 kB / 3.481 GB, free: 88.05 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/8.14, allocations: 0.549 MB / 3.482 GB, free: 87.49 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/8.14, allocations: 4 kB / 3.482 GB, free: 87.48 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/8.14, allocations: 7.938 kB / 3.482 GB, free: 87.48 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/8.14, allocations: 3.984 kB / 3.482 GB, free: 87.47 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/8.143, allocations: 1.351 MB / 3.483 GB, free: 86.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/8.143, allocations: 4 kB / 3.483 GB, free: 86.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003931/8.143, allocations: 84.31 kB / 3.483 GB, free: 85.94 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/8.143, allocations: 8 kB / 3.483 GB, free: 85.93 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/8.143, allocations: 12 kB / 3.483 GB, free: 85.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/8.143, allocations: 8.016 kB / 3.483 GB, free: 85.91 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/8.143, allocations: 7.984 kB / 3.483 GB, free: 85.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/8.145, allocations: 0.968 MB / 3.484 GB, free: 84.87 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003001/8.145, allocations: 172.4 kB / 3.484 GB, free: 84.68 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/8.145, allocations: 8 kB / 3.484 GB, free: 84.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005013/8.146, allocations: 52.02 kB / 3.484 GB, free: 84.62 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/8.146, allocations: 55.8 kB / 3.484 GB, free: 84.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/8.146, allocations: 19.94 kB / 3.484 GB, free: 84.55 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004253/8.147, allocations: 338.8 kB / 3.485 GB, free: 84.22 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/8.147, allocations: 4 kB / 3.485 GB, free: 84.21 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001417/8.148, allocations: 287.9 kB / 3.485 GB, free: 83.93 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.002814/8.151, allocations: 1.446 MB / 3.486 GB, free: 82.42 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001302/8.152, allocations: 0.6039 MB / 3.487 GB, free: 81.79 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/8.152, allocations: 0 / 3.487 GB, free: 81.79 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006264/8.153, allocations: 299.8 kB / 3.487 GB, free: 81.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/8.155, allocations: 281.6 kB / 3.487 GB, free: 81.23 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/8.157, allocations: 1.208 MB / 3.489 GB, free: 79.95 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/8.157, allocations: 0.8732 MB / 3.489 GB, free: 79.05 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006933/8.158, allocations: 124.6 kB / 3.49 GB, free: 78.93 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/8.158, allocations: 47.44 kB / 3.49 GB, free: 78.89 MB / 0.948 GB Notification: Performance of SimCode: time 2.615e-06/8.158, allocations: 0 / 3.49 GB, free: 78.89 MB / 0.948 GB Notification: Performance of Templates: time 0.03812/8.196, allocations: 27.45 MB / 3.516 GB, free: 51.52 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)