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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 92 kB / 15.06 MB, free: 1.098 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.001826/0.001826, allocations: 172.7 kB / 15.95 MB, free: 208 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.767/1.767, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.601/1.601, allocations: 252 MB / 0.5102 GB, free: 4.801 MB / 414.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.0006018/0.0006019, allocations: 12 kB / 0.6243 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5686/0.5692, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1812/0.7505, allocations: 165.5 MB / 0.8898 GB, free: 5.453 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006323/0.7569, allocations: 4.267 MB / 0.8939 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005979/0.7575, allocations: 15.88 kB / 0.8939 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006408/0.7582, allocations: 174.7 kB / 0.8941 GB, free: 0.9922 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.7598, allocations: 0.5946 MB / 0.8947 GB, free: 404 kB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.7631, allocations: 1.056 MB / 0.8957 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001911/0.765, allocations: 1.433 MB / 0.8971 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005179/0.7655, allocations: 348 kB / 0.8974 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008768/0.7664, allocations: 0.5097 MB / 0.8979 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000483/0.7669, allocations: 390.4 kB / 0.8983 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.177e-05/0.767, allocations: 28 kB / 0.8983 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002226/0.7692, allocations: 0.7871 MB / 0.8991 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.7694, allocations: 163.5 kB / 0.8993 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.7696, allocations: 129.5 kB / 0.8994 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.7707, allocations: 0.7716 MB / 0.9001 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.304e-05/0.7707, allocations: 3.938 kB / 0.9001 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7707, allocations: 0 / 0.9001 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.7707, allocations: 0 / 0.9001 GB, free: 10.78 MB / 0.7169 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.001578/0.7723, allocations: 0.9281 MB / 0.9011 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.7724, allocations: 12.03 kB / 0.9011 GB, free: 9.773 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.7742, allocations: 283 kB / 0.9013 GB, free: 9.496 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009087/0.7751, allocations: 433.8 kB / 0.9018 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.7752, allocations: 32.95 kB / 0.9018 GB, free: 9 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.7753, allocations: 40 kB / 0.9018 GB, free: 8.961 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.7764, allocations: 0.5625 MB / 0.9024 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.7764, allocations: 7.938 kB / 0.9024 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.7764, allocations: 16 kB / 0.9024 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.7765, allocations: 11.98 kB / 0.9024 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009664/0.7774, allocations: 487.5 kB / 0.9029 GB, free: 7.852 MB / 0.7169 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.002912/0.7804, allocations: 2.131 MB / 0.905 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000892/0.7813, allocations: 438.4 kB / 0.9054 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004538/0.7817, allocations: 245.3 kB / 0.9056 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007446/0.7825, allocations: 412.2 kB / 0.906 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007073/0.7832, allocations: 310.8 kB / 0.9063 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 2.034e-06/0.7832, allocations: 0 / 0.9063 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001666/0.7849, allocations: 0.7342 MB / 0.907 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.7849, allocations: 55.41 kB / 0.9071 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000532/0.7855, allocations: 494 kB / 0.9075 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/0.7855, allocations: 41.69 kB / 0.9076 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.7857, allocations: 252.1 kB / 0.9078 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.7858, allocations: 126.2 kB / 0.9079 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.7859, allocations: 12 kB / 0.9079 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002325/0.7861, allocations: 362.8 kB / 0.9083 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005128/0.7866, allocations: 212.8 kB / 0.9085 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006604/0.7873, allocations: 332 kB / 0.9088 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005219/0.7878, allocations: 287.3 kB / 0.9091 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.7879, allocations: 7.891 kB / 0.9091 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00125/0.7891, allocations: 0.6757 MB / 0.9098 GB, free: 456 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.7892, allocations: 59.41 kB / 0.9098 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.7892, allocations: 4 kB / 0.9098 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.7892, allocations: 8.234 kB / 0.9098 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/0.7896, allocations: 103.9 kB / 0.9099 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.7897, allocations: 11.92 kB / 0.9099 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.7902, allocations: 91.42 kB / 0.91 GB, free: 164 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.684e-05/0.7902, allocations: 31.92 kB / 0.91 GB, free: 132 kB / 0.7169 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.4388/1.229, allocations: 177.7 kB / 0.9102 GB, free: 50.31 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/1.229, allocations: 59.86 kB / 0.9103 GB, free: 50.31 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/1.231, allocations: 0.5651 MB / 0.9108 GB, free: 50.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/1.231, allocations: 7.438 kB / 0.9108 GB, free: 50.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.231, allocations: 1.391 kB / 0.9108 GB, free: 50.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/1.231, allocations: 1.688 kB / 0.9108 GB, free: 50.27 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002687/1.234, allocations: 1.386 MB / 0.9122 GB, free: 49.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/1.234, allocations: 4.688 kB / 0.9122 GB, free: 49.86 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/1.234, allocations: 83.8 kB / 0.9123 GB, free: 49.86 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.847e-05/1.234, allocations: 6.188 kB / 0.9123 GB, free: 49.86 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/1.234, allocations: 15.23 kB / 0.9123 GB, free: 49.86 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.498e-05/1.234, allocations: 6.484 kB / 0.9123 GB, free: 49.86 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/1.234, allocations: 7.344 kB / 0.9123 GB, free: 49.86 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/1.236, allocations: 0.9787 MB / 0.9133 GB, free: 49.62 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/1.237, allocations: 172.3 kB / 0.9134 GB, free: 49.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.297e-05/1.237, allocations: 15.92 kB / 0.9134 GB, free: 49.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/1.237, allocations: 54.88 kB / 0.9135 GB, free: 49.49 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/1.237, allocations: 46.03 kB / 0.9135 GB, free: 49.49 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/1.237, allocations: 15.89 kB / 0.9136 GB, free: 49.49 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004682/1.238, allocations: 348.1 kB / 0.9139 GB, free: 49.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.21e-07/1.238, allocations: 0.8125 kB / 0.9139 GB, free: 49.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006417/1.238, allocations: 155.9 kB / 0.914 GB, free: 49.39 MB / 0.7169 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.0004373/1.239, allocations: 202.1 kB / 0.9142 GB, free: 49.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001247/1.24, allocations: 0.6063 MB / 0.9148 GB, free: 49.17 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.24, allocations: 3.688 kB / 0.9148 GB, free: 49.17 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000692/1.241, allocations: 304.7 kB / 0.9151 GB, free: 49.17 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/1.242, allocations: 271.2 kB / 0.9154 GB, free: 49.17 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/1.244, allocations: 1.227 MB / 0.9166 GB, free: 48.51 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/1.245, allocations: 0.8633 MB / 0.9174 GB, free: 47.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0005659/1.245, allocations: 134.9 kB / 0.9175 GB, free: 47.77 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/1.245, allocations: 48.7 kB / 0.9176 GB, free: 47.77 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/1.245, allocations: 0 / 0.9176 GB, free: 47.77 MB / 0.7169 GB Notification: Performance of Templates: time 0.01926/1.265, allocations: 9.838 MB / 0.9272 GB, free: 47.19 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: