Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.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.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 103.5 kB / 16.36 MB, free: 6.312 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.001115/0.001115, allocations: 191 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.803/1.803, allocations: 292.3 MB / 0.5496 GB, free: 17.65 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.001403/0.001403, allocations: 71.89 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2185, allocations: 114.5 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.4358/0.6544, allocations: 53.41 MB / 0.8369 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02525/0.6797, allocations: 17.67 MB / 0.8542 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003498/0.6832, allocations: 86.41 kB / 0.8543 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004005/0.6873, allocations: 1.154 MB / 0.8554 GB, free: 1.781 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.008296/0.6956, allocations: 2.334 MB / 0.8577 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01193/0.7075, allocations: 3.636 MB / 0.8612 GB, free: 14.81 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01097/0.7185, allocations: 4.656 MB / 0.8658 GB, free: 12.62 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003433/0.722, allocations: 1.634 MB / 0.8674 GB, free: 11.77 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005578/0.7276, allocations: 1.914 MB / 0.8692 GB, free: 10.63 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003286/0.7309, allocations: 1.362 MB / 0.8706 GB, free: 9.777 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004158/0.7313, allocations: 171.6 kB / 0.8707 GB, free: 9.773 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005456/0.7368, allocations: 1.974 MB / 0.8727 GB, free: 8.715 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007899/0.7376, allocations: 0.5228 MB / 0.8732 GB, free: 8.32 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001693/0.7393, allocations: 1.041 MB / 0.8742 GB, free: 7.602 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006012/0.7453, allocations: 3.457 MB / 0.8776 GB, free: 5.301 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7453, allocations: 0 / 0.8776 GB, free: 5.301 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7453, allocations: 0 / 0.8776 GB, free: 5.301 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.549e-05/0.7454, allocations: 5.375 kB / 0.8776 GB, free: 5.297 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.005033/0.7504, allocations: 2.562 MB / 0.8801 GB, free: 3.379 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.7505, allocations: 10.16 kB / 0.8801 GB, free: 3.379 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002297/0.7528, allocations: 463.8 kB / 0.8805 GB, free: 3.16 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003429/0.7562, allocations: 1.661 MB / 0.8821 GB, free: 1.922 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.91e-05/0.7563, allocations: 91.5 kB / 0.8822 GB, free: 1.879 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/0.7565, allocations: 121.4 kB / 0.8823 GB, free: 1.84 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002839/0.7594, allocations: 1.374 MB / 0.8837 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.7594, allocations: 2.5 kB / 0.8837 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.7596, allocations: 43.5 kB / 0.8837 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.471e-05/0.7596, allocations: 31.62 kB / 0.8838 GB, free: 0.8789 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00293/0.7625, allocations: 1.071 MB / 0.8848 GB, free: 364 kB / 0.67 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.01083/0.7734, allocations: 7.051 MB / 0.8917 GB, free: 9.988 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002697/0.7761, allocations: 1.346 MB / 0.893 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.7772, allocations: 410 kB / 0.8934 GB, free: 8.773 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005163/0.7823, allocations: 2.986 MB / 0.8963 GB, free: 5.93 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.7834, allocations: 437.4 kB / 0.8967 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=59): time 2.856e-06/0.7835, allocations: 3.938 kB / 0.8967 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of matching and sorting (n=59): time 0.003359/0.7868, allocations: 1.217 MB / 0.8979 GB, free: 5.004 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.093e-05/0.7869, allocations: 110 kB / 0.898 GB, free: 4.879 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/0.7891, allocations: 1.563 MB / 0.8996 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.554e-05/0.7892, allocations: 41.7 kB / 0.8996 GB, free: 3.785 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007761/0.79, allocations: 0.8995 MB / 0.9005 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.7902, allocations: 209 kB / 0.9007 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003642/0.7906, allocations: 214.4 kB / 0.9009 GB, free: 2.449 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.7907, allocations: 349.9 kB / 0.9012 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009853/0.7917, allocations: 392.6 kB / 0.9016 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/0.7931, allocations: 0.7921 MB / 0.9024 GB, free: 0.7461 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002315/0.7954, allocations: 1.149 MB / 0.9035 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.7955, allocations: 4 kB / 0.9035 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003043/0.7985, allocations: 1.325 MB / 0.9048 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/0.7986, allocations: 45.62 kB / 0.9048 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.7986, allocations: 12 kB / 0.9048 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/0.7986, allocations: 16 kB / 0.9048 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.7997, allocations: 255.8 kB / 0.9051 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.038e-05/0.7997, allocations: 27.86 kB / 0.9051 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.801, allocations: 147.5 kB / 0.9053 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.943e-05/0.8011, allocations: 55.92 kB / 0.9053 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001514/0.8027, allocations: 0.6906 MB / 0.906 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001235/0.8039, allocations: 0.7696 MB / 0.9067 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002191/0.8061, allocations: 1.118 MB / 0.9078 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.604e-06/0.8061, allocations: 4 kB / 0.9078 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002984/0.8091, allocations: 1.302 MB / 0.9091 GB, free: 9.289 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.8092, allocations: 42.98 kB / 0.9091 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.8092, allocations: 12 kB / 0.9092 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.8092, allocations: 16 kB / 0.9092 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.8102, allocations: 255.5 kB / 0.9094 GB, free: 8.965 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.238e-05/0.8103, allocations: 27.92 kB / 0.9094 GB, free: 8.938 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.8117, allocations: 121.8 kB / 0.9096 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.755e-05/0.8118, allocations: 51.98 kB / 0.9096 GB, free: 8.77 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0003216/0.8121, allocations: 256.9 kB / 0.9099 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/0.8124, allocations: 165.8 kB / 0.91 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002957/0.8154, allocations: 1.109 MB / 0.9111 GB, free: 7.242 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002081/0.8175, allocations: 0.9659 MB / 0.912 GB, free: 6.227 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.8175, allocations: 4 kB / 0.912 GB, free: 6.223 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008397/0.8184, allocations: 326.7 kB / 0.9124 GB, free: 5.883 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000262/0.8186, allocations: 15.98 kB / 0.9124 GB, free: 5.867 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007955/0.8194, allocations: 51.95 kB / 0.9124 GB, free: 5.816 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.8196, allocations: 56.48 kB / 0.9125 GB, free: 5.762 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002828/0.8224, allocations: 1.036 MB / 0.9135 GB, free: 4.715 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003305/0.8257, allocations: 1.583 MB / 0.915 GB, free: 3.109 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001093/0.8268, allocations: 420.3 kB / 0.9154 GB, free: 2.699 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001838/0.8287, allocations: 1.045 MB / 0.9164 GB, free: 1.664 MB / 0.7012 GB Notification: Performance of Backend: time 4.11e-07/0.8287, allocations: 0 / 0.9164 GB, free: 1.664 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0065/0.8352, allocations: 2.256 MB / 0.9187 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of SimCode: time 0.006691/0.8419, allocations: 3.858 MB / 0.9224 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of Templates: time 0.05972/0.9017, allocations: 36.29 MB / 0.9579 GB, free: 7.879 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)