Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.702/1.702, allocations: 287.5 MB / 302.6 MB, free: 8.191 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.001179/0.001179, allocations: 182.7 kB / 371.2 MB, free: 10.85 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.715/1.715, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007912/0.0007909, allocations: 94.55 kB / 0.7432 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.0004352, allocations: 16.38 kB / 0.8661 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2409, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.7295/0.9704, allocations: 165.3 MB / 1.14 GB, free: 13.6 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005812/0.9763, allocations: 4.182 MB / 1.144 GB, free: 12.2 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006559/0.977, allocations: 26.31 kB / 1.144 GB, free: 12.18 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007183/0.9777, allocations: 163.2 kB / 1.144 GB, free: 12.12 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.9796, allocations: 0.588 MB / 1.145 GB, free: 11.85 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003261/0.9828, allocations: 1.056 MB / 1.146 GB, free: 11.52 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001977/0.9848, allocations: 1.452 MB / 1.147 GB, free: 11.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006559/0.9855, allocations: 368.9 kB / 1.148 GB, free: 11.21 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.9866, allocations: 0.5144 MB / 1.148 GB, free: 11.08 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005525/0.9872, allocations: 393.9 kB / 1.149 GB, free: 10.97 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.41e-05/0.9873, allocations: 26.25 kB / 1.149 GB, free: 10.97 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.9896, allocations: 0.7812 MB / 1.149 GB, free: 10.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.9899, allocations: 170.7 kB / 1.15 GB, free: 10.79 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.9901, allocations: 136.5 kB / 1.15 GB, free: 10.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.9914, allocations: 0.755 MB / 1.15 GB, free: 10.36 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.9914, allocations: 1.188 kB / 1.15 GB, free: 10.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9914, allocations: 0 / 1.15 GB, free: 10.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.9915, allocations: 0 / 1.15 GB, free: 10.36 MB / 0.698 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.001785/0.9932, allocations: 0.9319 MB / 1.151 GB, free: 9.613 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.9933, allocations: 9.875 kB / 1.151 GB, free: 9.613 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/0.9952, allocations: 291 kB / 1.152 GB, free: 9.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007631/0.9959, allocations: 451.1 kB / 1.152 GB, free: 9.156 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.996, allocations: 32.16 kB / 1.152 GB, free: 9.152 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.402e-05/0.9961, allocations: 43.28 kB / 1.152 GB, free: 9.152 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.9972, allocations: 0.5577 MB / 1.153 GB, free: 8.922 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.9973, allocations: 1.031 kB / 1.153 GB, free: 8.922 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.556e-05/0.9973, allocations: 18.47 kB / 1.153 GB, free: 8.918 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.9973, allocations: 13.97 kB / 1.153 GB, free: 8.914 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.9984, allocations: 489.9 kB / 1.153 GB, free: 8.816 MB / 0.698 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.00281/1.001, allocations: 2.131 MB / 1.155 GB, free: 7.227 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/1.002, allocations: 434 kB / 1.156 GB, free: 7.121 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005139/1.003, allocations: 247 kB / 1.156 GB, free: 7.062 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007161/1.004, allocations: 406.7 kB / 1.156 GB, free: 6.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006699/1.004, allocations: 313.9 kB / 1.157 GB, free: 6.527 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 2.825e-06/1.004, allocations: 4 kB / 1.157 GB, free: 6.523 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001948/1.006, allocations: 0.7249 MB / 1.157 GB, free: 6.336 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/1.006, allocations: 60.27 kB / 1.157 GB, free: 6.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006856/1.007, allocations: 492.9 kB / 1.158 GB, free: 6.074 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/1.007, allocations: 36.2 kB / 1.158 GB, free: 6.043 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/1.007, allocations: 270.4 kB / 1.158 GB, free: 5.887 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/1.007, allocations: 117.4 kB / 1.158 GB, free: 5.805 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/1.007, allocations: 8.312 kB / 1.158 GB, free: 5.805 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001852/1.008, allocations: 365.2 kB / 1.159 GB, free: 5.473 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/1.008, allocations: 212.8 kB / 1.159 GB, free: 5.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006518/1.009, allocations: 327.9 kB / 1.159 GB, free: 5.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/1.01, allocations: 0.5806 MB / 1.16 GB, free: 5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.01, allocations: 1.031 kB / 1.16 GB, free: 5 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001454/1.011, allocations: 0.6864 MB / 1.16 GB, free: 4.754 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.199e-05/1.012, allocations: 60.84 kB / 1.16 GB, free: 4.691 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.012, allocations: 3.594 kB / 1.16 GB, free: 4.691 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/1.012, allocations: 9.375 kB / 1.16 GB, free: 4.688 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/1.012, allocations: 101.1 kB / 1.161 GB, free: 4.668 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/1.012, allocations: 9.406 kB / 1.161 GB, free: 4.664 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006905/1.013, allocations: 92.56 kB / 1.161 GB, free: 4.621 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-05/1.013, allocations: 22.31 kB / 1.161 GB, free: 4.621 MB / 0.698 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.0003178/1.013, allocations: 192.8 kB / 1.161 GB, free: 4.488 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.018e-05/1.013, allocations: 53.56 kB / 1.161 GB, free: 4.461 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/1.015, allocations: 0.5739 MB / 1.161 GB, free: 4.289 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/1.015, allocations: 3.938 kB / 1.161 GB, free: 4.289 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.015, allocations: 1.312 kB / 1.161 GB, free: 4.289 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/1.015, allocations: 7.969 kB / 1.161 GB, free: 4.281 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002653/1.017, allocations: 1.379 MB / 1.163 GB, free: 3.363 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/1.017, allocations: 6.406 kB / 1.163 GB, free: 3.359 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004267/1.018, allocations: 90.44 kB / 1.163 GB, free: 3.332 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/1.018, allocations: 4.781 kB / 1.163 GB, free: 3.332 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.795e-05/1.018, allocations: 10.78 kB / 1.163 GB, free: 3.328 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/1.018, allocations: 9.203 kB / 1.163 GB, free: 3.324 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/1.018, allocations: 7.719 kB / 1.163 GB, free: 3.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/1.02, allocations: 0.9751 MB / 1.164 GB, free: 2.703 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002919/1.02, allocations: 179.2 kB / 1.164 GB, free: 2.539 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.9e-05/1.02, allocations: 10.06 kB / 1.164 GB, free: 2.535 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000458/1.021, allocations: 51.48 kB / 1.164 GB, free: 2.516 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/1.021, allocations: 56.16 kB / 1.164 GB, free: 2.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/1.021, allocations: 20.05 kB / 1.164 GB, free: 2.473 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005294/1.022, allocations: 341.2 kB / 1.164 GB, free: 2.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.1e-07/1.022, allocations: 0 / 1.164 GB, free: 2.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000927/1.022, allocations: 150.1 kB / 1.165 GB, free: 2.246 MB / 0.698 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.0005649/1.023, allocations: 196 kB / 1.165 GB, free: 2.105 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001424/1.024, allocations: 0.6064 MB / 1.165 GB, free: 1.766 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.024, allocations: 1.219 kB / 1.165 GB, free: 1.766 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008071/1.025, allocations: 313.5 kB / 1.166 GB, free: 1.625 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/1.027, allocations: 262.8 kB / 1.166 GB, free: 1.504 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/1.029, allocations: 1.225 MB / 1.167 GB, free: 0.582 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006343/1.03, allocations: 0.8723 MB / 1.168 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006255/1.03, allocations: 125.3 kB / 1.168 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/1.031, allocations: 40.78 kB / 1.168 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/1.031, allocations: 0 / 1.168 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of Templates: time 0.01829/1.049, allocations: 9.861 MB / 1.178 GB, free: 10.81 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)