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.317/2.317, allocations: 248.5 MB / 261.1 MB, free: 6.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001412/0.001412, allocations: 180.7 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.908/1.908, allocations: 205.2 MB / 0.571 GB, free: 11.73 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.001053/0.001053, allocations: 89.98 kB / 0.6754 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.673e-05/3.696e-05, allocations: 8 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1973, allocations: 106.3 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.838/2.036, allocations: 399.5 MB / 1.281 GB, free: 262.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/2.036, allocations: 89.52 kB / 1.281 GB, free: 262.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 11.23/13.26, allocations: 2.128 GB / 3.409 GB, free: 128.9 MB / 0.9011 GB Notification: Performance of FrontEnd: time 4.328e-06/13.26, allocations: 0 / 3.409 GB, free: 128.9 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001367/13.26, allocations: 191.9 kB / 3.409 GB, free: 128.9 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.02712/13.29, allocations: 6.122 MB / 3.415 GB, free: 126.8 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/13.29, allocations: 9.719 kB / 3.415 GB, free: 126.8 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004199/13.3, allocations: 0.8388 MB / 3.416 GB, free: 126.8 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006394/13.3, allocations: 0.8337 MB / 3.417 GB, free: 126.4 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02744/13.33, allocations: 7.686 MB / 3.424 GB, free: 125.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007075/13.33, allocations: 466.8 kB / 3.425 GB, free: 125.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003046/13.33, allocations: 0.5988 MB / 3.425 GB, free: 125.5 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02902/13.36, allocations: 8.217 MB / 3.433 GB, free: 124.6 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003548/13.36, allocations: 16.09 kB / 3.433 GB, free: 124.6 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002153/13.36, allocations: 253.9 kB / 3.434 GB, free: 124.6 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002317/13.36, allocations: 191.5 kB / 3.434 GB, free: 124.6 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02277/13.39, allocations: 6.754 MB / 3.44 GB, free: 124.6 MB / 0.9011 GB Warning: The model contains alias variables with conflicting start and/or 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.07481/13.46, allocations: 33.38 MB / 3.473 GB, free: 110.7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/13.47, allocations: 4.28 MB / 3.477 GB, free: 110.6 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008217/13.48, allocations: 3.48 MB / 3.481 GB, free: 110.4 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001854/13.48, allocations: 0.963 MB / 3.481 GB, free: 109.4 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00671/13.49, allocations: 2.278 MB / 3.484 GB, free: 108.6 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004752/13.5, allocations: 485.1 kB / 3.484 GB, free: 108.3 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=329): time 1.483e-05/13.5, allocations: 0 / 3.484 GB, free: 108.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=329): time 0.01396/13.51, allocations: 4.577 MB / 3.489 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/13.51, allocations: 86.94 kB / 3.489 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01358/13.52, allocations: 5.124 MB / 3.494 GB, free: 104.8 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001068/13.52, allocations: 88.67 kB / 3.494 GB, free: 104.7 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.004663/13.53, allocations: 3.123 MB / 3.497 GB, free: 102.3 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.002274/13.53, allocations: 1.159 MB / 3.498 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005451/13.53, allocations: 92.91 kB / 3.498 GB, free: 101.4 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003916/13.53, allocations: 489.6 kB / 3.499 GB, free: 101 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005704/13.54, allocations: 2.064 MB / 3.501 GB, free: 100.3 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006936/13.54, allocations: 3.563 MB / 3.504 GB, free: 97.68 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007002/13.55, allocations: 2.841 MB / 3.507 GB, free: 96.72 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.816e-05/13.55, allocations: 13.91 kB / 3.507 GB, free: 96.72 MB / 0.9011 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01984/13.57, allocations: 6.572 MB / 3.513 GB, free: 94.58 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-05/13.57, allocations: 50.67 kB / 3.513 GB, free: 94.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.331e-05/13.57, allocations: 46.25 kB / 3.513 GB, free: 94.55 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001548/13.57, allocations: 436.9 kB / 3.514 GB, free: 94.46 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008199/13.58, allocations: 1.046 MB / 3.515 GB, free: 94.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007881/13.59, allocations: 5.285 MB / 3.52 GB, free: 90.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009674/13.6, allocations: 472.3 kB / 3.52 GB, free: 90.45 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001398/13.6, allocations: 224.4 kB / 3.521 GB, free: 90.41 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 () * 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.00138/13.6, allocations: 389.6 kB / 3.521 GB, free: 90.08 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002033/13.6, allocations: 0.516 MB / 3.521 GB, free: 89.81 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01524/13.62, allocations: 5.163 MB / 3.526 GB, free: 87.89 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-05/13.62, allocations: 37.03 kB / 3.527 GB, free: 87.89 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/13.62, allocations: 3.875 kB / 3.527 GB, free: 87.89 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01326/13.63, allocations: 4.407 MB / 3.531 GB, free: 86.12 MB / 0.9011 GB Warning: The model contains alias variables with conflicting start and/or 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.03808/13.67, allocations: 11.91 MB / 3.542 GB, free: 79.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/13.67, allocations: 6.141 kB / 3.542 GB, free: 79.66 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006019/13.68, allocations: 0.6431 MB / 3.543 GB, free: 79.13 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/13.68, allocations: 371.4 kB / 3.543 GB, free: 78.85 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007493/13.68, allocations: 87.95 kB / 3.544 GB, free: 78.78 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007288/13.69, allocations: 5.212 MB / 3.549 GB, free: 73.82 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/13.69, allocations: 7.828 kB / 3.549 GB, free: 73.82 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01871/13.71, allocations: 7.647 MB / 3.556 GB, free: 67.02 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005811/13.71, allocations: 1.248 MB / 3.557 GB, free: 65.92 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002248/13.71, allocations: 67.66 kB / 3.557 GB, free: 65.86 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008663/13.72, allocations: 414.5 kB / 3.558 GB, free: 65.59 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001418/13.72, allocations: 209.1 kB / 3.558 GB, free: 65.46 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006832/13.72, allocations: 129.5 kB / 3.558 GB, free: 65.36 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0112/13.74, allocations: 3.981 MB / 3.562 GB, free: 61.91 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.092e-06/13.74, allocations: 0 / 3.562 GB, free: 61.91 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01122/13.75, allocations: 2.057 MB / 3.564 GB, free: 59.86 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) * 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.02311/13.77, allocations: 9.131 MB / 3.573 GB, free: 51.82 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01365/13.78, allocations: 5.259 MB / 3.578 GB, free: 47.06 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/13.78, allocations: 7.984 kB / 3.578 GB, free: 47.05 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.006495/13.79, allocations: 2.465 MB / 3.58 GB, free: 44.81 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0262/13.82, allocations: 3.175 MB / 3.584 GB, free: 42.65 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04475/13.86, allocations: 13.93 MB / 3.597 GB, free: 30.77 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009202/13.87, allocations: 4.731 MB / 3.602 GB, free: 27.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0127/13.88, allocations: 2.04 MB / 3.604 GB, free: 25.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007745/13.89, allocations: 2.669 MB / 3.606 GB, free: 23.34 MB / 0.9011 GB Notification: Performance of SimCode: time 1.443e-06/13.89, allocations: 0 / 3.606 GB, free: 23.34 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.139/15.03, allocations: 175.8 MB / 3.778 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002877/15.03, allocations: 223.4 kB / 3.778 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.042/24.07, allocations: 4 kB / 3.778 GB, free: 106.6 MB / 0.9011 GB