Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.191/2.191, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001552/0.001551, allocations: 179.4 kB / 325.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.325/2.325, allocations: 205.4 MB / 0.5764 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00119/0.001189, allocations: 97.88 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005113/0.000511, allocations: 9.875 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2255, allocations: 106.3 MB / 0.8988 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.199/1.425, allocations: 399.5 MB / 1.289 GB, free: 2.812 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/1.425, allocations: 95.95 kB / 1.289 GB, free: 2.762 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 11.43/12.86, allocations: 2.134 GB / 3.423 GB, free: 24.83 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.086e-06/12.86, allocations: 0 / 3.423 GB, free: 24.83 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001374/12.86, allocations: 191.8 kB / 3.423 GB, free: 24.64 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.03443/12.89, allocations: 7.226 MB / 3.43 GB, free: 17.32 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/12.89, allocations: 12.03 kB / 3.43 GB, free: 17.31 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004829/12.9, allocations: 0.8381 MB / 3.431 GB, free: 16.46 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006485/12.91, allocations: 0.8423 MB / 3.431 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02823/12.93, allocations: 7.719 MB / 3.439 GB, free: 7.824 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007065/12.93, allocations: 464.2 kB / 3.439 GB, free: 7.367 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003253/12.94, allocations: 0.5975 MB / 3.44 GB, free: 6.77 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7826/13.72, allocations: 8.341 MB / 3.448 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005043/13.72, allocations: 17.62 kB / 3.448 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002884/13.72, allocations: 261.2 kB / 3.448 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003028/13.72, allocations: 178.4 kB / 3.449 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02743/13.75, allocations: 6.936 MB / 3.455 GB, free: 109.8 MB / 0.9011 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.08385/13.84, allocations: 33.36 MB / 3.488 GB, free: 96.49 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/13.85, allocations: 4.393 MB / 3.492 GB, free: 96.43 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001926/13.85, allocations: 0.9644 MB / 3.493 GB, free: 95.49 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007813/13.86, allocations: 2.339 MB / 3.495 GB, free: 95.39 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005607/13.86, allocations: 487.3 kB / 3.496 GB, free: 95.27 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=329): time 1.898e-05/13.86, allocations: 0 / 3.496 GB, free: 95.27 MB / 0.9011 GB Notification: Performance of matching and sorting (n=329): time 0.02459/13.89, allocations: 7.137 MB / 3.503 GB, free: 94.64 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/13.89, allocations: 91.62 kB / 3.503 GB, free: 94.57 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01458/13.9, allocations: 5.18 MB / 3.508 GB, free: 94.25 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001254/13.9, allocations: 87.92 kB / 3.508 GB, free: 94.22 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.005456/13.91, allocations: 3.12 MB / 3.511 GB, free: 93.33 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.002616/13.91, allocations: 1.158 MB / 3.512 GB, free: 92.76 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006551/13.91, allocations: 96.09 kB / 3.512 GB, free: 92.76 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000447/13.91, allocations: 495.3 kB / 3.513 GB, free: 92.45 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006977/13.92, allocations: 2.146 MB / 3.515 GB, free: 92.43 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007471/13.93, allocations: 3.64 MB / 3.519 GB, free: 90.66 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007454/13.94, allocations: 2.901 MB / 3.521 GB, free: 90.58 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-05/13.94, allocations: 18.31 kB / 3.521 GB, free: 90.58 MB / 0.9011 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01986/13.96, allocations: 6.719 MB / 3.528 GB, free: 90.14 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.938e-05/13.96, allocations: 54.95 kB / 3.528 GB, free: 90.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.673e-05/13.96, allocations: 47.78 kB / 3.528 GB, free: 90.11 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/13.96, allocations: 436.9 kB / 3.528 GB, free: 90.09 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007999/13.96, allocations: 1.039 MB / 3.529 GB, free: 90.09 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008064/13.97, allocations: 5.402 MB / 3.535 GB, free: 87.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009686/13.98, allocations: 482.2 kB / 3.535 GB, free: 87.36 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00138/13.98, allocations: 218.1 kB / 3.535 GB, free: 87.36 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 214 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (548): * Single equations (assignments): 545 * 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: 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.007918/13.99, allocations: 2.456 MB / 3.538 GB, free: 87.25 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002227/13.99, allocations: 0.5205 MB / 3.538 GB, free: 86.98 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01796/14.01, allocations: 5.296 MB / 3.543 GB, free: 86.75 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.772e-05/14.01, allocations: 35.2 kB / 3.544 GB, free: 86.74 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/14.01, allocations: 10.61 kB / 3.544 GB, free: 86.74 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01303/14.03, allocations: 4.552 MB / 3.548 GB, free: 86.28 MB / 0.9011 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 postOpt removeSimpleEquations (simulation): time 0.03934/14.06, allocations: 11.9 MB / 3.56 GB, free: 85.51 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/14.07, allocations: 0 / 3.56 GB, free: 85.51 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006208/14.07, allocations: 0.6466 MB / 3.56 GB, free: 85.51 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001466/14.07, allocations: 370.3 kB / 3.561 GB, free: 85.49 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009459/14.07, allocations: 81.83 kB / 3.561 GB, free: 85.49 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007977/14.08, allocations: 5.329 MB / 3.566 GB, free: 82.79 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/14.08, allocations: 3.188 kB / 3.566 GB, free: 82.79 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02173/14.1, allocations: 7.862 MB / 3.574 GB, free: 82 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005858/14.11, allocations: 1.242 MB / 3.575 GB, free: 81.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002598/14.11, allocations: 68.55 kB / 3.575 GB, free: 81.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008665/14.12, allocations: 422.8 kB / 3.575 GB, free: 81.61 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001248/14.12, allocations: 205.9 kB / 3.575 GB, free: 81.61 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006022/14.12, allocations: 129.1 kB / 3.576 GB, free: 81.61 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.01138/14.13, allocations: 4.037 MB / 3.579 GB, free: 81.43 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.152e-06/14.13, allocations: 0 / 3.579 GB, free: 81.43 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01145/14.15, allocations: 2.054 MB / 3.582 GB, free: 81.18 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (308): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.02511/14.17, allocations: 9.337 MB / 3.591 GB, free: 79.64 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01468/14.19, allocations: 5.41 MB / 3.596 GB, free: 79.26 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/14.19, allocations: 7.641 kB / 3.596 GB, free: 79.26 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.007046/14.19, allocations: 2.551 MB / 3.598 GB, free: 78.99 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02666/14.22, allocations: 3.176 MB / 3.602 GB, free: 78.95 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1968/14.42, allocations: 83.37 MB / 3.683 GB, free: 41.64 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01116/14.43, allocations: 4.72 MB / 3.688 GB, free: 40.09 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.01365/14.44, allocations: 2.082 MB / 3.69 GB, free: 39.95 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00866/14.45, allocations: 2.659 MB / 3.692 GB, free: 37.88 MB / 0.9167 GB Notification: Performance of SimCode: time 1.342e-06/14.45, allocations: 7.641 kB / 3.692 GB, free: 37.88 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.145/15.6, allocations: 175 MB / 3.863 GB, free: 137.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003057/15.6, allocations: 258.4 kB / 3.863 GB, free: 136.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.777/24.37, allocations: 4 kB / 3.863 GB, free: 136.8 MB / 0.9323 GB