Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 194.7 kB / 16.53 MB, free: 6.699 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.56/1.56, allocations: 205.1 MB / 222.4 MB, free: 4.645 MB / 174.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.742/1.742, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001626/0.001626, allocations: 73.73 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2977, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05058/0.3483, allocations: 49.28 MB / 0.8315 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02271/0.3711, allocations: 13.76 MB / 0.8449 GB, free: 14.23 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004005/0.3752, allocations: 63.62 kB / 0.845 GB, free: 14.17 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003066/0.3783, allocations: 0.8109 MB / 0.8458 GB, free: 13.35 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007926/0.3863, allocations: 2.222 MB / 0.8479 GB, free: 11.12 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004066/0.3904, allocations: 1.291 MB / 0.8492 GB, free: 9.836 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02056/0.4109, allocations: 19.45 MB / 0.8682 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01436/0.4254, allocations: 9.902 MB / 0.8779 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01564/0.441, allocations: 6.497 MB / 0.8842 GB, free: 5.828 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01202/0.4531, allocations: 5.759 MB / 0.8898 GB, free: 48 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.003595/0.4567, allocations: 0.8438 MB / 0.8907 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008613/0.4654, allocations: 1.596 MB / 0.8922 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.005179/0.4706, allocations: 2.115 MB / 0.8943 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01199/0.4826, allocations: 4.279 MB / 0.8985 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.5888/1.071, allocations: 11.87 MB / 0.9101 GB, free: 43.69 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/1.072, allocations: 0 / 0.9101 GB, free: 43.69 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.034e-06/1.072, allocations: 0 / 0.9101 GB, free: 43.69 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004948/1.072, allocations: 1.188 kB / 0.9101 GB, free: 43.69 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: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.02839/1.1, allocations: 7.673 MB / 0.9176 GB, free: 41.12 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/1.101, allocations: 13.53 kB / 0.9176 GB, free: 41.12 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006214/1.107, allocations: 0.7817 MB / 0.9183 GB, free: 40.76 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01491/1.122, allocations: 5.926 MB / 0.9241 GB, free: 39.87 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005685/1.122, allocations: 419.2 kB / 0.9245 GB, free: 39.86 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004087/1.126, allocations: 0.5411 MB / 0.925 GB, free: 39.86 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02771/1.154, allocations: 8.075 MB / 0.9329 GB, free: 39.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002927/1.154, allocations: 17.84 kB / 0.9329 GB, free: 39.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002388/1.157, allocations: 234.2 kB / 0.9332 GB, free: 39.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002717/1.157, allocations: 166.8 kB / 0.9333 GB, free: 39.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0166/1.174, allocations: 6.52 MB / 0.9397 GB, free: 39.02 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.0474/1.221, allocations: 31.41 MB / 0.9704 GB, free: 18.37 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005332/1.227, allocations: 3.651 MB / 0.9739 GB, free: 16.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0037/1.23, allocations: 2.807 MB / 0.9767 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008208/1.231, allocations: 0.8329 MB / 0.9775 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.977e-05/1.231, allocations: 76.02 kB / 0.9776 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 4.98e-06/1.231, allocations: 0 / 0.9776 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.01104/1.242, allocations: 5.755 MB / 0.9832 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/1.242, allocations: 80.7 kB / 0.9833 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006895/1.249, allocations: 5.14 MB / 0.9883 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0009074/1.25, allocations: 78.86 kB / 0.9884 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001822/1.252, allocations: 2.85 MB / 0.9911 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001283/1.253, allocations: 0.9436 MB / 0.9921 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009407/1.254, allocations: 0.7156 MB / 0.9928 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.41e-05/1.254, allocations: 305.1 kB / 0.9931 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002269/1.257, allocations: 1.67 MB / 0.9947 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002627/1.259, allocations: 2.938 MB / 0.9976 GB, free: 400 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006812/1.266, allocations: 4.969 MB / 1.002 GB, free: 11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.649e-05/1.266, allocations: 8 kB / 1.002 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01151/1.278, allocations: 5.429 MB / 1.008 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.493e-05/1.278, allocations: 24 kB / 1.008 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.846e-05/1.278, allocations: 45.19 kB / 1.008 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/1.279, allocations: 425 kB / 1.008 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003411/1.282, allocations: 0.8565 MB / 1.009 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006059/1.288, allocations: 5.701 MB / 1.015 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006296/1.295, allocations: 0.5144 MB / 1.015 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009558/1.296, allocations: 184 kB / 1.015 GB, free: 13.85 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004764/1.3, allocations: 2.267 MB / 1.017 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00181/1.302, allocations: 478.2 kB / 1.018 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007228/1.309, allocations: 4.18 MB / 1.022 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.506e-05/1.31, allocations: 24 kB / 1.022 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/1.31, allocations: 8 kB / 1.022 GB, free: 6.906 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005175/1.315, allocations: 3.632 MB / 1.026 GB, free: 3.18 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02019/1.335, allocations: 10.27 MB / 1.036 GB, free: 8.855 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/1.335, allocations: 4 kB / 1.036 GB, free: 8.852 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002175/1.337, allocations: 0.497 MB / 1.036 GB, free: 8.375 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008952/1.338, allocations: 383.1 kB / 1.036 GB, free: 8 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002124/1.338, allocations: 71.97 kB / 1.037 GB, free: 7.93 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0056/1.344, allocations: 5.648 MB / 1.042 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.344, allocations: 4 kB / 1.042 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/1.354, allocations: 6.252 MB / 1.048 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003972/1.358, allocations: 1.088 MB / 1.049 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001489/1.36, allocations: 63.92 kB / 1.049 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003474/1.363, allocations: 172.1 kB / 1.049 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000381/1.364, allocations: 177 kB / 1.05 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003619/1.364, allocations: 132.5 kB / 1.05 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.007131/1.371, allocations: 3.778 MB / 1.053 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.3e-07/1.371, allocations: 0 / 1.053 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.01023/1.382, allocations: 1.804 MB / 1.055 GB, free: 4.438 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001784/1.383, allocations: 477.7 kB / 1.056 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01573/1.399, allocations: 8.071 MB / 1.064 GB, free: 12.05 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/1.399, allocations: 4 kB / 1.064 GB, free: 12.05 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003604/1.403, allocations: 2.04 MB / 1.066 GB, free: 10.04 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01875/1.422, allocations: 3.474 MB / 1.069 GB, free: 6.707 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02324/1.445, allocations: 12.52 MB / 1.081 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004564/1.449, allocations: 4.278 MB / 1.085 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.006899/1.456, allocations: 1.877 MB / 1.087 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001716/1.458, allocations: 418.9 kB / 1.088 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of SimCode: time 1.162e-06/1.458, allocations: 0 / 1.088 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of Templates: time 0.1977/1.656, allocations: 117 MB / 1.202 GB, free: 15.92 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)