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.001125/0.001126, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001372/0.001372, allocations: 177.3 kB / 15.95 MB, free: 216 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.559/1.559, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.542/1.542, allocations: 251.9 MB / 0.51 GB, free: 4.824 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.0008312/0.0008316, allocations: 12 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6271/0.628, allocations: 106.4 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2069/0.835, allocations: 151.6 MB / 0.876 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.007082/0.8421, allocations: 4.194 MB / 0.8801 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007746/0.843, allocations: 19.88 kB / 0.8801 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.8442, allocations: 286.6 kB / 0.8804 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.8465, allocations: 0.5998 MB / 0.881 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004233/0.8508, allocations: 1.017 MB / 0.882 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001641/0.8524, allocations: 0.7488 MB / 0.8827 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005833/0.853, allocations: 356.1 kB / 0.883 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.8546, allocations: 0.6543 MB / 0.8837 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003731/0.855, allocations: 290.8 kB / 0.8839 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 5.629e-05/0.8551, allocations: 24 kB / 0.884 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.8571, allocations: 0.5966 MB / 0.8845 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.8574, allocations: 155.6 kB / 0.8847 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.8576, allocations: 133.4 kB / 0.8848 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.8587, allocations: 0.6391 MB / 0.8854 GB, free: 9.746 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8588, allocations: 0 / 0.8854 GB, free: 9.746 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.076e-06/0.8588, allocations: 4 kB / 0.8855 GB, free: 9.742 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.8588, allocations: 0 / 0.8855 GB, free: 9.742 MB / 0.7012 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.001905/0.8607, allocations: 0.9006 MB / 0.8863 GB, free: 8.777 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.8608, allocations: 12.02 kB / 0.8863 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002094/0.8629, allocations: 291 kB / 0.8866 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007974/0.8637, allocations: 437.8 kB / 0.887 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/0.8637, allocations: 32.95 kB / 0.8871 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.169e-05/0.8638, allocations: 44 kB / 0.8871 GB, free: 7.938 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.8649, allocations: 0.5585 MB / 0.8877 GB, free: 7.34 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.8649, allocations: 0 / 0.8877 GB, free: 7.34 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/0.865, allocations: 16 kB / 0.8877 GB, free: 7.324 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.865, allocations: 12 kB / 0.8877 GB, free: 7.312 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.866, allocations: 495.5 kB / 0.8882 GB, free: 6.832 MB / 0.7012 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.002694/0.8687, allocations: 2.119 MB / 0.8902 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.8698, allocations: 450.4 kB / 0.8907 GB, free: 4.129 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000417/0.8702, allocations: 145.6 kB / 0.8908 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006543/0.8709, allocations: 332.4 kB / 0.8911 GB, free: 3.625 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=37): time 2.735e-06/0.8709, allocations: 4 kB / 0.8911 GB, free: 3.621 MB / 0.7012 GB Notification: Performance of matching and sorting (n=37): time 0.001982/0.8729, allocations: 0.7285 MB / 0.8918 GB, free: 2.887 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/0.873, allocations: 85.14 kB / 0.8919 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006701/0.8736, allocations: 0.4901 MB / 0.8924 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.763e-05/0.8737, allocations: 37.7 kB / 0.8924 GB, free: 2.242 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.8739, allocations: 256.1 kB / 0.8927 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.8741, allocations: 126.2 kB / 0.8928 GB, free: 1.863 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.8741, allocations: 8 kB / 0.8928 GB, free: 1.855 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.8743, allocations: 366.8 kB / 0.8931 GB, free: 1.488 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004919/0.8748, allocations: 208.8 kB / 0.8933 GB, free: 1.281 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005817/0.8754, allocations: 341.2 kB / 0.8937 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000535/0.8759, allocations: 287.5 kB / 0.8939 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.876, allocations: 4 kB / 0.8939 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001298/0.8773, allocations: 0.6811 MB / 0.8946 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.719e-05/0.8773, allocations: 63.41 kB / 0.8947 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.8774, allocations: 4 kB / 0.8947 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.8774, allocations: 4 kB / 0.8947 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/0.8779, allocations: 103.8 kB / 0.8948 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.8779, allocations: 4 kB / 0.8948 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005871/0.8785, allocations: 95.5 kB / 0.8949 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/0.8785, allocations: 20 kB / 0.8949 GB, free: 15.61 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0002587/0.8788, allocations: 204.2 kB / 0.8951 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/0.8789, allocations: 59.23 kB / 0.8951 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.88, allocations: 0.5295 MB / 0.8957 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.88, allocations: 7.938 kB / 0.8957 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.88, allocations: 0 / 0.8957 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.88, allocations: 0 / 0.8957 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/0.8825, allocations: 1.465 MB / 0.8971 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.8825, allocations: 8 kB / 0.8971 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004143/0.8829, allocations: 80.45 kB / 0.8972 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/0.8829, allocations: 15.95 kB / 0.8972 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/0.883, allocations: 15.98 kB / 0.8972 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.883, allocations: 11.94 kB / 0.8972 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.883, allocations: 4 kB / 0.8972 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.885, allocations: 1.249 MB / 0.8985 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002667/0.8852, allocations: 180.2 kB / 0.8986 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.509e-05/0.8853, allocations: 12 kB / 0.8986 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000473/0.8858, allocations: 52.02 kB / 0.8987 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.886, allocations: 63.77 kB / 0.8987 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.886, allocations: 15.98 kB / 0.8988 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004405/0.8865, allocations: 342.8 kB / 0.8991 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8865, allocations: 0 / 0.8991 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006586/0.8871, allocations: 147.8 kB / 0.8992 GB, free: 10.83 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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.0004825/0.8876, allocations: 212.5 kB / 0.8994 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.8889, allocations: 0.6046 MB / 0.9 GB, free: 9.996 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.8889, allocations: 0.5625 kB / 0.9 GB, free: 9.996 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007391/0.8896, allocations: 328.8 kB / 0.9003 GB, free: 9.676 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.891, allocations: 264.3 kB / 0.9006 GB, free: 9.418 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.8931, allocations: 1.259 MB / 0.9018 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006072/0.8937, allocations: 0.8824 MB / 0.9027 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0005551/0.8943, allocations: 120.7 kB / 0.9028 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.8944, allocations: 43.44 kB / 0.9028 GB, free: 7 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.8944, allocations: 0 / 0.9028 GB, free: 7 MB / 0.7169 GB Notification: Performance of Templates: time 0.4568/1.351, allocations: 9.82 MB / 0.9124 GB, free: 178 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: