Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.771/1.771, allocations: 297.8 MB / 313.7 MB, free: 28 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 179 kB / 384.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 223.2 MB / 0.6626 GB, free: 4.164 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 95.06 kB / 0.7808 GB, free: 50.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004575/0.0004576, allocations: 12 kB / 0.9088 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7685/0.769, allocations: 120.3 MB / 1.026 GB, free: 55.75 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8933/1.662, allocations: 408.1 MB / 1.425 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/1.663, allocations: 99.38 kB / 1.425 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.731/8.393, allocations: 2.093 GB / 3.518 GB, free: 61.9 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.084e-06/8.393, allocations: 0 / 3.518 GB, free: 61.9 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001055/8.395, allocations: 171.8 kB / 3.518 GB, free: 61.73 MB / 0.9948 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.0205/8.415, allocations: 6.437 MB / 3.525 GB, free: 55.22 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/8.415, allocations: 8.031 kB / 3.525 GB, free: 55.21 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004554/8.42, allocations: 0.7775 MB / 3.526 GB, free: 54.43 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01654/8.436, allocations: 7.026 MB / 3.532 GB, free: 47.33 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004115/8.437, allocations: 418.2 kB / 3.533 GB, free: 46.93 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002207/8.439, allocations: 0.5432 MB / 3.533 GB, free: 46.38 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01564/8.455, allocations: 7.535 MB / 3.541 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001293/8.455, allocations: 23.81 kB / 3.541 GB, free: 38.59 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006518/8.455, allocations: 232 kB / 3.541 GB, free: 38.36 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001249/8.456, allocations: 164 kB / 3.541 GB, free: 38.2 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009311/8.465, allocations: 5.97 MB / 3.547 GB, free: 32.22 MB / 0.9948 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.0329/8.498, allocations: 29.45 MB / 3.576 GB, free: 1.34 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6392/9.137, allocations: 3.572 MB / 3.579 GB, free: 132 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003759/9.141, allocations: 3.012 MB / 3.582 GB, free: 132 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007448/9.142, allocations: 0.8287 MB / 3.583 GB, free: 131.2 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.121e-05/9.142, allocations: 72.48 kB / 3.583 GB, free: 131.1 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=267): time 5.03e-06/9.142, allocations: 2.062 kB / 3.583 GB, free: 131.1 MB / 0.9948 GB Notification: Performance of matching and sorting (n=267): time 0.009928/9.152, allocations: 5.705 MB / 3.589 GB, free: 130.8 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/9.152, allocations: 80.64 kB / 3.589 GB, free: 130.7 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007918/9.16, allocations: 4.934 MB / 3.593 GB, free: 130.4 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008225/9.16, allocations: 79.14 kB / 3.594 GB, free: 130.4 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002333/9.163, allocations: 2.822 MB / 3.596 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001498/9.164, allocations: 0.9356 MB / 3.597 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/9.165, allocations: 76.72 kB / 3.597 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002252/9.165, allocations: 459.4 kB / 3.598 GB, free: 129.1 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002411/9.167, allocations: 1.64 MB / 3.599 GB, free: 129.1 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003046/9.17, allocations: 2.912 MB / 3.602 GB, free: 127.6 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005753/9.176, allocations: 4.902 MB / 3.607 GB, free: 126.1 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.298e-05/9.176, allocations: 11.44 kB / 3.607 GB, free: 126.1 MB / 0.9948 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009757/9.186, allocations: 5.357 MB / 3.612 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 6.301e-05/9.186, allocations: 26.22 kB / 3.612 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-05/9.186, allocations: 40.78 kB / 3.612 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008553/9.187, allocations: 416.6 kB / 3.613 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002785/9.19, allocations: 0.8673 MB / 3.613 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004699/9.194, allocations: 5.317 MB / 3.619 GB, free: 123 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006357/9.201, allocations: 0.6376 MB / 3.619 GB, free: 122.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009036/9.202, allocations: 178.4 kB / 3.619 GB, free: 122.9 MB / 0.9948 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005977/9.208, allocations: 2.267 MB / 3.622 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001992/9.21, allocations: 475.3 kB / 3.622 GB, free: 122.5 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007909/9.218, allocations: 4.124 MB / 3.626 GB, free: 122.3 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.591e-05/9.218, allocations: 28.5 kB / 3.626 GB, free: 122.3 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/9.218, allocations: 4.312 kB / 3.626 GB, free: 122.3 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006061/9.224, allocations: 3.569 MB / 3.63 GB, free: 121.8 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02151/9.245, allocations: 10.11 MB / 3.64 GB, free: 121 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/9.245, allocations: 9.828 kB / 3.64 GB, free: 121 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001978/9.247, allocations: 0.4928 MB / 3.64 GB, free: 121 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008014/9.248, allocations: 373.6 kB / 3.64 GB, free: 121 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001969/9.248, allocations: 75.98 kB / 3.64 GB, free: 121 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004427/9.253, allocations: 5.26 MB / 3.646 GB, free: 118.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/9.253, allocations: 5.969 kB / 3.646 GB, free: 118.3 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009022/9.262, allocations: 6.186 MB / 3.652 GB, free: 117.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003826/9.266, allocations: 1.146 MB / 3.653 GB, free: 117.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001411/9.267, allocations: 61.73 kB / 3.653 GB, free: 117.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003717/9.271, allocations: 297.6 kB / 3.653 GB, free: 117.2 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003343/9.271, allocations: 175.8 kB / 3.653 GB, free: 117.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000298/9.272, allocations: 131.1 kB / 3.653 GB, free: 117.2 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.00652/9.278, allocations: 3.592 MB / 3.657 GB, free: 117 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.61e-07/9.278, allocations: 0 / 3.657 GB, free: 117 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.008328/9.286, allocations: 1.824 MB / 3.659 GB, free: 116.9 MB / 0.9948 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002182/9.289, allocations: 0.7266 MB / 3.659 GB, free: 116.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.007353/9.296, allocations: 4.21 MB / 3.664 GB, free: 116.4 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/9.296, allocations: 5.969 kB / 3.664 GB, free: 116.4 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002992/9.299, allocations: 2.017 MB / 3.665 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02356/9.323, allocations: 3.251 MB / 3.669 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03309/9.356, allocations: 14.49 MB / 3.683 GB, free: 111 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007619/9.363, allocations: 4.288 MB / 3.687 GB, free: 110.2 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.01037/9.374, allocations: 1.824 MB / 3.689 GB, free: 110.1 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002849/9.377, allocations: 413.8 kB / 3.689 GB, free: 110.1 MB / 0.9948 GB Notification: Performance of SimCode: time 1.633e-06/9.377, allocations: 0 / 3.689 GB, free: 110.1 MB / 0.9948 GB Notification: Performance of Templates: time 0.1988/9.576, allocations: 112.3 MB / 3.799 GB, free: 104.4 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)