Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009192/0.0009192, allocations: 79.69 kB / 21.74 MB, free: 2.516 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009395/0.0009395, allocations: 173.5 kB / 25.18 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9356/0.9356, allocations: 177.1 MB / 205.6 MB, free: 5.043 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.873/1.873, allocations: 389.6 MB / 0.6364 GB, free: 12.21 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.7756 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.583e-05, allocations: 8.078 kB / 0.7756 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.01296/0.01298, allocations: 16.96 MB / 0.7921 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01287/0.02585, allocations: 10.13 MB / 0.802 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.0271, allocations: 124.1 kB / 0.8021 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002683/0.02979, allocations: 1.616 MB / 0.8037 GB, free: 9.113 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00281/0.0326, allocations: 2.176 MB / 0.8058 GB, free: 6.945 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003108/0.0357, allocations: 2.234 MB / 0.808 GB, free: 4.719 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.006536/0.04224, allocations: 8.105 MB / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/0.04408, allocations: 1.379 MB / 0.8173 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002532/0.04661, allocations: 2.622 MB / 0.8199 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.04775, allocations: 1.172 MB / 0.821 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002156/0.04797, allocations: 164 kB / 0.8212 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.04942, allocations: 1.158 MB / 0.8223 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004185/0.04983, allocations: 0.6772 MB / 0.8229 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0006493/0.05048, allocations: 0.7636 MB / 0.8237 GB, free: 4.691 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002297/0.05278, allocations: 2.386 MB / 0.826 GB, free: 2.297 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.05278, allocations: 3.984 kB / 0.826 GB, free: 2.293 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.22e-07/0.05279, allocations: 0 / 0.826 GB, free: 2.293 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.735e-05/0.05281, allocations: 4 kB / 0.826 GB, free: 2.289 MB / 0.7761 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.00254/0.05535, allocations: 2.751 MB / 0.8287 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.05538, allocations: 12.58 kB / 0.8287 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/0.05727, allocations: 0.7411 MB / 0.8295 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.05932, allocations: 1.88 MB / 0.8313 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.206e-05/0.05937, allocations: 90.22 kB / 0.8314 GB, free: 12.66 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.05949, allocations: 120 kB / 0.8315 GB, free: 12.54 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.06083, allocations: 1.268 MB / 0.8327 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.06085, allocations: 7.922 kB / 0.8327 GB, free: 11.13 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-05/0.06092, allocations: 48 kB / 0.8328 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.06094, allocations: 35.94 kB / 0.8328 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005733/0.06152, allocations: 456.9 kB / 0.8332 GB, free: 10.58 MB / 0.7917 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.004683/0.0662, allocations: 4.623 MB / 0.8378 GB, free: 5.793 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009437/0.06714, allocations: 0.5987 MB / 0.8383 GB, free: 5.188 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.06741, allocations: 213.5 kB / 0.8386 GB, free: 4.977 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001876/0.06929, allocations: 1.186 MB / 0.8397 GB, free: 3.773 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004243/0.06971, allocations: 457.2 kB / 0.8401 GB, free: 3.285 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=57): time 3.156e-06/0.06971, allocations: 0 / 0.8401 GB, free: 3.285 MB / 0.7917 GB Notification: Performance of matching and sorting (n=57): time 0.0008827/0.0706, allocations: 0.5729 MB / 0.8407 GB, free: 2.703 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.07063, allocations: 59.91 kB / 0.8408 GB, free: 2.633 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.07179, allocations: 1.665 MB / 0.8424 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.529e-05/0.07185, allocations: 41.7 kB / 0.8424 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.07219, allocations: 0.6927 MB / 0.8431 GB, free: 188 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.07232, allocations: 218.2 kB / 0.8433 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.07253, allocations: 198.4 kB / 0.8435 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.693e-05/0.07262, allocations: 349.8 kB / 0.8438 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.07292, allocations: 217.3 kB / 0.844 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/0.07345, allocations: 0.8311 MB / 0.8449 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006908/0.07414, allocations: 0.7631 MB / 0.8456 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.07415, allocations: 0 / 0.8456 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0008982/0.07505, allocations: 0.8066 MB / 0.8464 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/0.07508, allocations: 39.88 kB / 0.8464 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.07509, allocations: 12 kB / 0.8464 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.07511, allocations: 16 kB / 0.8465 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006888/0.0758, allocations: 304.1 kB / 0.8467 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.07581, allocations: 31.92 kB / 0.8468 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006183/0.07643, allocations: 187.2 kB / 0.8469 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-05/0.07649, allocations: 47.97 kB / 0.847 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004558/0.07695, allocations: 313.4 kB / 0.8473 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005061/0.07746, allocations: 0.8157 MB / 0.8481 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006793/0.07814, allocations: 0.7565 MB / 0.8488 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.07814, allocations: 0 / 0.8488 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of matching and sorting (n=118) (initialization_lambda0): time 0.0008787/0.07902, allocations: 0.811 MB / 0.8496 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.07904, allocations: 37.7 kB / 0.8497 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.07905, allocations: 12 kB / 0.8497 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.07906, allocations: 16 kB / 0.8497 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006504/0.07971, allocations: 307.5 kB / 0.85 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.07972, allocations: 23.88 kB / 0.85 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/0.08032, allocations: 167.4 kB / 0.8502 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.985e-05/0.08038, allocations: 51.97 kB / 0.8502 GB, free: 8.012 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (116): * Single equations (assignments): 114 * Array equations: 1 * Algorithm blocks: 1 * 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.0001618/0.08054, allocations: 251.8 kB / 0.8504 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.08068, allocations: 123.8 kB / 0.8506 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008952/0.08158, allocations: 0.7174 MB / 0.8513 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.08158, allocations: 12 kB / 0.8513 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.08159, allocations: 0 / 0.8513 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004463/0.08203, allocations: 0.5098 MB / 0.8518 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.08362, allocations: 1.389 MB / 0.8531 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.08363, allocations: 4 kB / 0.8531 GB, free: 4.898 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/0.08413, allocations: 191.8 kB / 0.8533 GB, free: 4.711 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001136/0.08425, allocations: 24.83 kB / 0.8533 GB, free: 4.684 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/0.08429, allocations: 27.97 kB / 0.8534 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000631/0.08492, allocations: 1.206 MB / 0.8545 GB, free: 3.367 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.08492, allocations: 4 kB / 0.8546 GB, free: 3.363 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008836/0.08581, allocations: 0.8513 MB / 0.8554 GB, free: 2.48 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.08612, allocations: 246.3 kB / 0.8556 GB, free: 2.238 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.08625, allocations: 15.94 kB / 0.8556 GB, free: 2.223 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005232/0.08677, allocations: 99.91 kB / 0.8557 GB, free: 2.125 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.08684, allocations: 48.56 kB / 0.8558 GB, free: 2.078 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/0.08689, allocations: 27.95 kB / 0.8558 GB, free: 2.051 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000642/0.08753, allocations: 0.8564 MB / 0.8566 GB, free: 1.176 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.08753, allocations: 0 / 0.8566 GB, free: 1.176 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001251/0.08878, allocations: 0.8809 MB / 0.8575 GB, free: 300 kB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (vol.dynBal.U,mov.motSpe.y,conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001237/0.09002, allocations: 0.614 MB / 0.8581 GB, free: 15.86 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001154/0.09118, allocations: 1.097 MB / 0.8592 GB, free: 14.73 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.269e-05/0.0912, allocations: 24.5 kB / 0.8592 GB, free: 14.71 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004201/0.09162, allocations: 376.1 kB / 0.8596 GB, free: 14.33 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.0934, allocations: 1.021 MB / 0.8605 GB, free: 13.34 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.09678, allocations: 3.171 MB / 0.8636 GB, free: 10.09 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006568/0.09744, allocations: 0.9228 MB / 0.8645 GB, free: 9.129 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/0.0989, allocations: 0.7604 MB / 0.8653 GB, free: 8.348 MB / 0.823 GB Notification: Performance of SimCode: time 8.12e-07/0.0989, allocations: 4 kB / 0.8653 GB, free: 8.344 MB / 0.823 GB Notification: Performance of Templates: time 0.03256/0.1315, allocations: 39.88 MB / 0.9042 GB, free: 0.7109 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T > Buildings_13_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.411952491849661]