Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.883/4.883, allocations: 0.5623 GB / 0.5776 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002557/0.002557, allocations: 352.8 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.108/4.108, allocations: 410.7 MB / 1.113 GB, free: 5.879 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001799/0.001799, allocations: 192.9 kB / 1.226 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.0004703, allocations: 15.98 kB / 1.349 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6935/0.694, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.1229/0.817, allocations: 103.3 MB / 1.562 GB, free: 181 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.04913/0.8662, allocations: 29.58 MB / 1.591 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00575/0.872, allocations: 127.1 kB / 1.591 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00679/0.8788, allocations: 1.483 MB / 1.593 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01662/0.8955, allocations: 4.406 MB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01318/0.9087, allocations: 3.293 MB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0543/0.963, allocations: 50.51 MB / 1.65 GB, free: 91.51 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0298/0.9929, allocations: 15.69 MB / 1.665 GB, free: 75.82 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02387/1.017, allocations: 11.14 MB / 1.676 GB, free: 64.63 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0242/1.041, allocations: 11.74 MB / 1.687 GB, free: 52.85 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.005333/1.046, allocations: 0.7617 MB / 1.688 GB, free: 52.09 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01429/1.061, allocations: 2.164 MB / 1.69 GB, free: 49.92 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.007841/1.069, allocations: 3.323 MB / 1.693 GB, free: 46.58 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.008206/1.077, allocations: 3.708 MB / 1.697 GB, free: 42.86 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.03554/1.112, allocations: 27.52 MB / 1.724 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/1.113, allocations: 0 / 1.724 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.298e-06/1.113, allocations: 0 / 1.724 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.001013/1.114, allocations: 3.938 kB / 1.724 GB, free: 15.26 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3345 * Number of variables: 3345 Notification: Performance of Generate backend data structure: time 1.301/2.414, allocations: 15.97 MB / 1.739 GB, free: 240.5 MB / 0.8543 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/2.414, allocations: 12.03 kB / 1.739 GB, free: 240.5 MB / 0.8543 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01263/2.427, allocations: 1.964 MB / 1.741 GB, free: 239.6 MB / 0.8543 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04644/2.473, allocations: 15.52 MB / 1.757 GB, free: 232.5 MB / 0.8543 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001839/2.475, allocations: 1.001 MB / 1.757 GB, free: 232 MB / 0.8543 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006104/2.481, allocations: 1.335 MB / 1.759 GB, free: 231.6 MB / 0.8543 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06407/2.546, allocations: 20.16 MB / 1.778 GB, free: 216 MB / 0.8543 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007923/2.546, allocations: 44.38 kB / 1.779 GB, free: 216 MB / 0.8543 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004559/2.551, allocations: 0.5429 MB / 1.779 GB, free: 215.5 MB / 0.8543 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004605/2.551, allocations: 394.3 kB / 1.779 GB, free: 215.1 MB / 0.8543 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05226/2.604, allocations: 18.07 MB / 1.797 GB, free: 197 MB / 0.8543 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.1787/2.782, allocations: 86.41 MB / 1.881 GB, free: 107 MB / 0.8543 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03075/2.813, allocations: 12.95 MB / 1.894 GB, free: 94.19 MB / 0.8543 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01774/2.831, allocations: 7.413 MB / 1.901 GB, free: 86.78 MB / 0.8543 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 evalFunc (simulation): time 0.07892/2.91, allocations: 26.85 MB / 1.928 GB, free: 58.8 MB / 0.8543 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01662/2.927, allocations: 6.041 MB / 1.933 GB, free: 52.7 MB / 0.8543 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009091/2.936, allocations: 0.8109 MB / 1.934 GB, free: 51.88 MB / 0.8543 GB Notification: Performance of pre-optimization done (n=772): time 2.842e-05/2.936, allocations: 3.984 kB / 1.934 GB, free: 51.88 MB / 0.8543 GB Notification: Performance of matching and sorting (n=772): time 0.2055/3.141, allocations: 32.24 MB / 1.966 GB, free: 19.48 MB / 0.8543 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.3e-05/3.142, allocations: 163.1 kB / 1.966 GB, free: 19.3 MB / 0.8543 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02841/3.17, allocations: 12.09 MB / 1.978 GB, free: 7.242 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 0.002306/3.172, allocations: 201.7 kB / 1.978 GB, free: 7.039 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.00926/3.182, allocations: 6.965 MB / 1.985 GB, free: 12 kB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 0.005709/3.187, allocations: 2.692 MB / 1.987 GB, free: 13.28 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002229/3.19, allocations: 232 kB / 1.988 GB, free: 13.05 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 0.001189/3.191, allocations: 0.7737 MB / 1.988 GB, free: 12.27 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01891/3.21, allocations: 6.237 MB / 1.994 GB, free: 6.031 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02891/3.239, allocations: 9.547 MB / 2.004 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02437/3.263, allocations: 8.117 MB / 2.012 GB, free: 2.922 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/3.263, allocations: 32 kB / 2.012 GB, free: 2.891 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1474) (initialization): time 0.05942/3.323, allocations: 18.8 MB / 2.03 GB, free: 15.97 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 0.002781/3.326, allocations: 3.093 MB / 2.033 GB, free: 11.47 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002229/3.326, allocations: 100 kB / 2.033 GB, free: 11.38 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1285/3.455, allocations: 9.05 MB / 2.042 GB, free: 2.312 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01997/3.475, allocations: 2.461 MB / 2.044 GB, free: 15.84 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02089/3.495, allocations: 10.37 MB / 2.055 GB, free: 5.191 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01993/3.515, allocations: 1.096 MB / 2.056 GB, free: 4.094 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003059/3.519, allocations: 0.5197 MB / 2.056 GB, free: 3.574 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/3.519, allocations: 8 kB / 2.056 GB, free: 3.566 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05612/3.575, allocations: 17.83 MB / 2.074 GB, free: 1.633 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003011/3.575, allocations: 103.8 kB / 2.074 GB, free: 1.535 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1291/3.704, allocations: 9.02 MB / 2.082 GB, free: 8.496 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02011/3.724, allocations: 2.453 MB / 2.085 GB, free: 6.039 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0219/3.746, allocations: 10.36 MB / 2.095 GB, free: 11.38 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0193/3.766, allocations: 1.064 MB / 2.096 GB, free: 10.31 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003243/3.769, allocations: 0.5194 MB / 2.096 GB, free: 9.789 MB / 0.9793 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mHex_flow_in.T_start,mHex_flow_in.T_start,$PRE.mHex_flow_in.count,mHex_flow_in.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1286): * Single equations (assignments): 1282 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 1 {16 144} Notification: Performance of prepare postOptimizeDAE: time 0.01805/3.787, allocations: 5.96 MB / 2.102 GB, free: 3.812 MB / 0.9793 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005743/3.793, allocations: 1.154 MB / 2.103 GB, free: 2.645 MB / 0.9793 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.331/5.123, allocations: 13.33 MB / 2.116 GB, free: 336.3 MB / 0.9794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03208/5.156, allocations: 11.01 MB / 2.127 GB, free: 332.1 MB / 0.9794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.192e-05/5.156, allocations: 3.609 kB / 2.127 GB, free: 332.1 MB / 0.9794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01055/5.166, allocations: 2.912 MB / 2.13 GB, free: 331.2 MB / 0.9794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004616/5.171, allocations: 157.5 kB / 2.13 GB, free: 331.1 MB / 0.9794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01692/5.188, allocations: 0.8051 MB / 2.131 GB, free: 330.9 MB / 0.9794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002286/5.19, allocations: 463 kB / 2.131 GB, free: 330.9 MB / 0.9794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05094/5.241, allocations: 14.48 MB / 2.146 GB, free: 326.3 MB / 0.9794 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04609/5.287, allocations: 18.85 MB / 2.164 GB, free: 312.8 MB / 0.9794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01184/5.299, allocations: 5.484 MB / 2.169 GB, free: 307.3 MB / 0.9794 GB Notification: Performance of sorting global known variables: time 0.01966/5.319, allocations: 8.333 MB / 2.177 GB, free: 299 MB / 0.9794 GB Notification: Performance of Backend: time 1.153e-06/5.319, allocations: 0 / 2.177 GB, free: 299 MB / 0.9794 GB Notification: Performance of simCode: created initialization part: time 0.05955/5.379, allocations: 19.59 MB / 2.197 GB, free: 279.7 MB / 0.9794 GB Notification: Performance of SimCode: time 0.1068/5.486, allocations: 40.81 MB / 2.236 GB, free: 239.7 MB / 0.9794 GB Notification: Performance of Templates: time 1.463/6.949, allocations: 304.6 MB / 2.534 GB, free: 298 MB / 0.9794 GB