Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00569/0.00569, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001358/0.001358, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.547/1.547, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.521/1.521, allocations: 251.7 MB / 0.5094 GB, free: 3.004 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.00144/0.00144, allocations: 69.78 kB / 0.7258 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2796, allocations: 104.7 MB / 0.828 GB, free: 220 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.06475/0.3444, allocations: 49.3 MB / 0.8762 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02089/0.3653, allocations: 13.72 MB / 0.8896 GB, free: 0.9766 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00368/0.369, allocations: 67.62 kB / 0.8896 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003004/0.3721, allocations: 0.807 MB / 0.8904 GB, free: 100 kB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.008268/0.3804, allocations: 2.219 MB / 0.8926 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004174/0.3846, allocations: 1.272 MB / 0.8938 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.6707/1.055, allocations: 19.45 MB / 0.9128 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01969/1.075, allocations: 9.884 MB / 0.9225 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0189/1.094, allocations: 6.5 MB / 0.9288 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01725/1.111, allocations: 5.766 MB / 0.9345 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.005641/1.117, allocations: 0.8452 MB / 0.9353 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01149/1.129, allocations: 1.598 MB / 0.9368 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.006699/1.135, allocations: 2.086 MB / 0.9389 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01656/1.152, allocations: 4.248 MB / 0.943 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02347/1.175, allocations: 11.93 MB / 0.9547 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.175, allocations: 3.281 kB / 0.9547 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.937e-06/1.175, allocations: 3.219 kB / 0.9547 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005781/1.176, allocations: 0 / 0.9547 GB, free: 0.9688 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.02819/1.204, allocations: 7.653 MB / 0.9622 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/1.204, allocations: 9.547 kB / 0.9622 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004834/1.209, allocations: 0.7755 MB / 0.9629 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01592/1.225, allocations: 6.21 MB / 0.969 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004917/1.226, allocations: 419.9 kB / 0.9694 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002703/1.228, allocations: 0.5523 MB / 0.9699 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02381/1.252, allocations: 7.967 MB / 0.9777 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003492/1.253, allocations: 11.38 kB / 0.9777 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002251/1.255, allocations: 235.5 kB / 0.978 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002235/1.255, allocations: 166.5 kB / 0.9781 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01649/1.272, allocations: 6.563 MB / 0.9845 GB, free: 12.73 MB / 0.7481 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.05628/1.328, allocations: 30.55 MB / 1.014 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007115/1.335, allocations: 3.761 MB / 1.018 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004736/1.34, allocations: 2.819 MB / 1.021 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/1.341, allocations: 0.8311 MB / 1.022 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.559e-05/1.341, allocations: 73.91 kB / 1.022 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=275): time 6.783e-06/1.341, allocations: 3.938 kB / 1.022 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of matching and sorting (n=275): time 0.01402/1.355, allocations: 5.826 MB / 1.027 GB, free: 15.44 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.767e-05/1.355, allocations: 77.58 kB / 1.027 GB, free: 15.35 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01011/1.365, allocations: 5.148 MB / 1.032 GB, free: 10.2 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001081/1.367, allocations: 81.08 kB / 1.033 GB, free: 10.12 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002748/1.369, allocations: 2.833 MB / 1.035 GB, free: 7.273 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001894/1.371, allocations: 0.9694 MB / 1.036 GB, free: 6.312 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001287/1.372, allocations: 0.7193 MB / 1.037 GB, free: 5.586 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.373, allocations: 305.1 kB / 1.037 GB, free: 5.285 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002747/1.375, allocations: 1.702 MB / 1.039 GB, free: 3.582 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003522/1.379, allocations: 2.922 MB / 1.042 GB, free: 152 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006289/1.385, allocations: 4.962 MB / 1.047 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.356e-05/1.385, allocations: 8 kB / 1.047 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.01064/1.396, allocations: 5.477 MB / 1.052 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.761e-05/1.396, allocations: 24.25 kB / 1.052 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.147e-05/1.396, allocations: 40 kB / 1.052 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009806/1.397, allocations: 424.6 kB / 1.052 GB, free: 5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003083/1.4, allocations: 0.8676 MB / 1.053 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006588/1.407, allocations: 5.697 MB / 1.059 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005639/1.412, allocations: 0.5144 MB / 1.059 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007081/1.413, allocations: 184 kB / 1.06 GB, free: 13.57 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 173 * 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 (455): * Single equations (assignments): 453 * 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.004903/1.418, allocations: 2.262 MB / 1.062 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001697/1.42, allocations: 478.2 kB / 1.062 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007449/1.427, allocations: 4.241 MB / 1.066 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.973e-05/1.427, allocations: 26.62 kB / 1.066 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/1.427, allocations: 7.938 kB / 1.066 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00554/1.433, allocations: 3.686 MB / 1.07 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02313/1.456, allocations: 10.58 MB / 1.08 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/1.456, allocations: 4 kB / 1.08 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002321/1.458, allocations: 0.5114 MB / 1.081 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009547/1.459, allocations: 371.3 kB / 1.081 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002151/1.46, allocations: 90.77 kB / 1.081 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006486/1.466, allocations: 5.636 MB / 1.087 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/1.466, allocations: 8 kB / 1.087 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/1.479, allocations: 6.362 MB / 1.093 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004832/1.484, allocations: 1.072 MB / 1.094 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001928/1.486, allocations: 67.98 kB / 1.094 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004219/1.49, allocations: 179.6 kB / 1.094 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004323/1.49, allocations: 190.9 kB / 1.094 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000349/1.491, allocations: 119.9 kB / 1.095 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.007888/1.499, allocations: 3.781 MB / 1.098 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.9e-07/1.499, allocations: 0 / 1.098 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.008676/1.507, allocations: 1.796 MB / 1.1 GB, free: 3.535 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (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,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,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 (250): * Single equations (assignments): 245 * 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.001825/1.509, allocations: 486.6 kB / 1.1 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.008635/1.518, allocations: 4.343 MB / 1.105 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/1.518, allocations: 1 kB / 1.105 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.003894/1.522, allocations: 2.066 MB / 1.107 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01925/1.541, allocations: 3.462 MB / 1.11 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0251/1.566, allocations: 12.65 MB / 1.122 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00484/1.571, allocations: 4.286 MB / 1.127 GB, free: 8.414 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.006721/1.578, allocations: 1.83 MB / 1.128 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001737/1.58, allocations: 417.9 kB / 1.129 GB, free: 6.191 MB / 0.8887 GB Notification: Performance of SimCode: time 2.064e-06/1.58, allocations: 0 / 1.129 GB, free: 6.191 MB / 0.8887 GB Notification: Performance of Templates: time 0.1768/1.756, allocations: 112.7 MB / 1.239 GB, free: 6.746 MB / 0.9981 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)