Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.536/1.536, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001056, allocations: 178.3 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.4 MB / 0.5786 GB, free: 20.47 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009972/0.0009975, allocations: 91.44 kB / 0.6832 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003356, allocations: 12.56 kB / 0.7976 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.197, allocations: 106.3 MB / 0.9014 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.644/0.841, allocations: 177.4 MB / 1.075 GB, free: 1.844 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006907/0.848, allocations: 4.511 MB / 1.079 GB, free: 1.73 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000756/0.8488, allocations: 18.22 kB / 1.079 GB, free: 1.73 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007606/0.8495, allocations: 193.3 kB / 1.079 GB, free: 1.727 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00248/0.852, allocations: 0.7094 MB / 1.08 GB, free: 1.691 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004531/0.8566, allocations: 1.411 MB / 1.081 GB, free: 1.629 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003067/0.8597, allocations: 1.69 MB / 1.083 GB, free: 1.621 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008387/0.8605, allocations: 377.3 kB / 1.083 GB, free: 1.57 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/0.8621, allocations: 0.5272 MB / 1.084 GB, free: 1.566 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000646/0.8627, allocations: 408 kB / 1.084 GB, free: 1.566 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.453e-05/0.8628, allocations: 25.91 kB / 1.084 GB, free: 1.566 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003997/0.8668, allocations: 1.807 MB / 1.086 GB, free: 1.551 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002539/0.8671, allocations: 166.9 kB / 1.086 GB, free: 1.547 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004386/0.8676, allocations: 314.3 kB / 1.087 GB, free: 1.512 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.8692, allocations: 0.8921 MB / 1.087 GB, free: 1.449 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.8692, allocations: 0 / 1.087 GB, free: 1.449 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8692, allocations: 0 / 1.087 GB, free: 1.449 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.8692, allocations: 0 / 1.087 GB, free: 1.449 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.001806/0.871, allocations: 0.9333 MB / 1.088 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.8711, allocations: 9.688 kB / 1.088 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/0.873, allocations: 289.7 kB / 1.089 GB, free: 16.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007585/0.8738, allocations: 448.2 kB / 1.089 GB, free: 16.49 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/0.8739, allocations: 31.28 kB / 1.089 GB, free: 16.49 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.937e-05/0.8739, allocations: 44.06 kB / 1.089 GB, free: 16.49 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.875, allocations: 0.5655 MB / 1.09 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.875, allocations: 9.156 kB / 1.09 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.676e-05/0.8751, allocations: 16.66 kB / 1.09 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.8751, allocations: 13.64 kB / 1.09 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.8762, allocations: 492.2 kB / 1.09 GB, free: 16.35 MB / 0.7136 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.002714/0.8789, allocations: 2.13 MB / 1.092 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.8799, allocations: 437 kB / 1.093 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/0.8805, allocations: 243 kB / 1.093 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007913/0.8813, allocations: 408.9 kB / 1.093 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007063/0.882, allocations: 312.2 kB / 1.094 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 2.665e-06/0.882, allocations: 0 / 1.094 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.001996/0.884, allocations: 0.734 MB / 1.094 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.8841, allocations: 63.12 kB / 1.094 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006397/0.8848, allocations: 496 kB / 1.095 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.8848, allocations: 34.64 kB / 1.095 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.885, allocations: 262.1 kB / 1.095 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.813e-05/0.8851, allocations: 128.1 kB / 1.095 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.8851, allocations: 8.922 kB / 1.095 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.8853, allocations: 369.8 kB / 1.096 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004626/0.8858, allocations: 211.5 kB / 1.096 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005031/0.8863, allocations: 332.8 kB / 1.096 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009406/0.8873, allocations: 0.5701 MB / 1.097 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.8873, allocations: 0 / 1.097 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001179/0.8885, allocations: 0.6781 MB / 1.097 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/0.8885, allocations: 64.12 kB / 1.097 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.8886, allocations: 3 kB / 1.097 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.8886, allocations: 3.531 kB / 1.097 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004524/0.889, allocations: 109 kB / 1.097 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.8891, allocations: 6.031 kB / 1.097 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006195/0.8897, allocations: 92.64 kB / 1.098 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.346e-05/0.8897, allocations: 20.25 kB / 1.098 GB, free: 13.26 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002373/0.89, allocations: 201.2 kB / 1.098 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.998e-05/0.8901, allocations: 52.81 kB / 1.098 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.8912, allocations: 0.5757 MB / 1.098 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.8912, allocations: 5.203 kB / 1.098 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.8912, allocations: 10.91 kB / 1.098 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.8912, allocations: 0 / 1.098 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.8935, allocations: 1.386 MB / 1.1 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.8935, allocations: 2.844 kB / 1.1 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003915/0.8939, allocations: 86.59 kB / 1.1 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.8939, allocations: 6.375 kB / 1.1 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.8939, allocations: 13.38 kB / 1.1 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.8939, allocations: 7.172 kB / 1.1 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.894, allocations: 6.906 kB / 1.1 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.8956, allocations: 0.9865 MB / 1.101 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.8958, allocations: 165.8 kB / 1.101 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.497e-05/0.8959, allocations: 17.42 kB / 1.101 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004548/0.8963, allocations: 53.2 kB / 1.101 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.8965, allocations: 50.72 kB / 1.101 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.8965, allocations: 14.81 kB / 1.101 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003808/0.8969, allocations: 350.5 kB / 1.101 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8969, allocations: 0 / 1.101 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006104/0.8975, allocations: 153.6 kB / 1.102 GB, free: 12.05 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004618/0.898, allocations: 190 kB / 1.102 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.8992, allocations: 0.612 MB / 1.102 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8992, allocations: 0 / 1.102 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005891/0.8998, allocations: 281.6 kB / 1.103 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.9014, allocations: 282.5 kB / 1.103 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.9034, allocations: 1.296 MB / 1.104 GB, free: 11 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.9039, allocations: 0.8639 MB / 1.105 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.9041, allocations: 48.3 kB / 1.105 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of SimCode: time 6.11e-07/0.9041, allocations: 0 / 1.105 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of Templates: time 0.0134/0.9175, allocations: 8.934 MB / 1.114 GB, free: 9.566 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)