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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007431/0.0007431, allocations: 86.56 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008592/0.0008592, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.705/1.705, allocations: 292.7 MB / 0.5499 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005968/0.0005969, allocations: 15.28 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.206, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6553/0.8613, allocations: 165.3 MB / 0.9487 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005472/0.8668, allocations: 4.169 MB / 0.9528 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005388/0.8674, allocations: 17.19 kB / 0.9528 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000584/0.868, allocations: 173.5 kB / 0.953 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.8697, allocations: 0.5848 MB / 0.9535 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003777/0.8735, allocations: 1.06 MB / 0.9546 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001462/0.875, allocations: 1.441 MB / 0.956 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005435/0.8755, allocations: 341.5 kB / 0.9563 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.8766, allocations: 0.5112 MB / 0.9568 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004748/0.877, allocations: 394.6 kB / 0.9572 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.061e-05/0.8771, allocations: 26.78 kB / 0.9572 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001806/0.8789, allocations: 0.7851 MB / 0.958 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.8791, allocations: 167.4 kB / 0.9581 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003219/0.8794, allocations: 132.2 kB / 0.9583 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009018/0.8803, allocations: 0.7661 MB / 0.959 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8804, allocations: 0 / 0.959 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8804, allocations: 0 / 0.959 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.8804, allocations: 0 / 0.959 GB, free: 19.89 MB / 0.7325 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.001441/0.8818, allocations: 0.9353 MB / 0.9599 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.8819, allocations: 16.39 kB / 0.9599 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001789/0.8837, allocations: 278.2 kB / 0.9602 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006478/0.8843, allocations: 428.9 kB / 0.9606 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.8844, allocations: 31.44 kB / 0.9607 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.593e-05/0.8845, allocations: 45.03 kB / 0.9607 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009063/0.8854, allocations: 0.5604 MB / 0.9612 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.8854, allocations: 7.938 kB / 0.9612 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.085e-05/0.8854, allocations: 16.78 kB / 0.9613 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.8855, allocations: 10.31 kB / 0.9613 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009253/0.8864, allocations: 492.1 kB / 0.9617 GB, free: 18.79 MB / 0.7325 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.002248/0.8886, allocations: 2.125 MB / 0.9638 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008776/0.8895, allocations: 432.9 kB / 0.9642 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004458/0.89, allocations: 242.3 kB / 0.9645 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006478/0.8906, allocations: 415 kB / 0.9649 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005878/0.8912, allocations: 316.9 kB / 0.9652 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 2.645e-06/0.8913, allocations: 3.938 kB / 0.9652 GB, free: 17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.00167/0.8929, allocations: 0.7231 MB / 0.9659 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.893, allocations: 63.88 kB / 0.9659 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005224/0.8935, allocations: 491.1 kB / 0.9664 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/0.8936, allocations: 38.08 kB / 0.9664 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.8937, allocations: 255.8 kB / 0.9667 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.194e-05/0.8938, allocations: 127.3 kB / 0.9668 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/0.8938, allocations: 9.75 kB / 0.9668 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.894, allocations: 366.1 kB / 0.9672 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/0.8944, allocations: 216.5 kB / 0.9674 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004852/0.8949, allocations: 332.1 kB / 0.9677 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005032/0.8954, allocations: 296.6 kB / 0.968 GB, free: 16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8954, allocations: 0 / 0.968 GB, free: 16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001141/0.8966, allocations: 0.6691 MB / 0.9686 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/0.8966, allocations: 61.22 kB / 0.9687 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.8967, allocations: 2.875 kB / 0.9687 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.8967, allocations: 10.91 kB / 0.9687 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.8971, allocations: 104.3 kB / 0.9688 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.8971, allocations: 4.969 kB / 0.9688 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005427/0.8977, allocations: 92.94 kB / 0.9689 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/0.8978, allocations: 22.09 kB / 0.9689 GB, free: 15.75 MB / 0.7325 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.0002191/0.898, allocations: 198.6 kB / 0.9691 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.898, allocations: 52.81 kB / 0.9691 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.8992, allocations: 0.5778 MB / 0.9697 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.8992, allocations: 4.125 kB / 0.9697 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.8993, allocations: 0.9062 kB / 0.9697 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.8993, allocations: 4.297 kB / 0.9697 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/0.9013, allocations: 1.372 MB / 0.9711 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.872e-06/0.9014, allocations: 6.469 kB / 0.9711 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.9018, allocations: 83.42 kB / 0.9711 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.9018, allocations: 5.531 kB / 0.9711 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.9018, allocations: 16.06 kB / 0.9712 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/0.9018, allocations: 12.09 kB / 0.9712 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.9018, allocations: 6.062 kB / 0.9712 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/0.9033, allocations: 0.9827 MB / 0.9721 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.9035, allocations: 178.1 kB / 0.9723 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-05/0.9036, allocations: 12.16 kB / 0.9723 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.904, allocations: 53.92 kB / 0.9724 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.9041, allocations: 55.75 kB / 0.9724 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.9042, allocations: 14.41 kB / 0.9724 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003743/0.9046, allocations: 341.2 kB / 0.9728 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.242e-06/0.9046, allocations: 0 / 0.9728 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006411/0.9052, allocations: 159 kB / 0.9729 GB, free: 14.5 MB / 0.7325 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.000415/0.9056, allocations: 197 kB / 0.9731 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.9067, allocations: 0.6038 MB / 0.9737 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.9067, allocations: 0 / 0.9737 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005849/0.9073, allocations: 307.9 kB / 0.974 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.9085, allocations: 284.7 kB / 0.9743 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.9101, allocations: 1.219 MB / 0.9755 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.9106, allocations: 0.8734 MB / 0.9763 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005152/0.9111, allocations: 127.6 kB / 0.9764 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.9113, allocations: 41.73 kB / 0.9765 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/0.9113, allocations: 0 / 0.9765 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of Templates: time 0.01586/0.9272, allocations: 9.846 MB / 0.9861 GB, free: 8.035 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: