Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.724/1.724, allocations: 288.2 MB / 303.2 MB, free: 8.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 179.7 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 98.8 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004063, allocations: 11.12 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2477, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.252, allocations: 407.3 MB / 1.377 GB, free: 5.637 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/1.252, allocations: 90.27 kB / 1.377 GB, free: 5.59 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 8.734/9.987, allocations: 2.188 GB / 3.565 GB, free: 26.05 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.427e-06/9.987, allocations: 0 / 3.565 GB, free: 26.05 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001346/9.988, allocations: 179.8 kB / 3.566 GB, free: 25.88 MB / 0.9636 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.02806/10.02, allocations: 7.223 MB / 3.573 GB, free: 18.56 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/10.02, allocations: 12.03 kB / 3.573 GB, free: 18.55 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004705/10.02, allocations: 0.842 MB / 3.573 GB, free: 17.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006255/10.03, allocations: 0.8422 MB / 3.574 GB, free: 16.84 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0227/10.05, allocations: 7.742 MB / 3.582 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005915/10.05, allocations: 460.2 kB / 3.582 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003211/10.05, allocations: 0.5937 MB / 3.583 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.326/11.38, allocations: 8.436 MB / 3.591 GB, free: 122.5 MB / 0.9637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000377/11.38, allocations: 16.91 kB / 3.591 GB, free: 122.5 MB / 0.9637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002401/11.38, allocations: 264.7 kB / 3.591 GB, free: 122.5 MB / 0.9637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003784/11.38, allocations: 181 kB / 3.592 GB, free: 122.5 MB / 0.9637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02399/11.41, allocations: 6.895 MB / 3.598 GB, free: 122.5 MB / 0.9637 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.08601/11.49, allocations: 34.21 MB / 3.632 GB, free: 108.3 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009299/11.5, allocations: 4.276 MB / 3.636 GB, free: 108.2 MB / 0.9637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001537/11.5, allocations: 0.9549 MB / 3.637 GB, free: 107.3 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005833/11.51, allocations: 2.365 MB / 3.639 GB, free: 107.2 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005729/11.52, allocations: 484.2 kB / 3.64 GB, free: 107.1 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=317): time 3.053e-05/11.52, allocations: 3.25 kB / 3.64 GB, free: 107.1 MB / 0.9637 GB Notification: Performance of matching and sorting (n=317): time 0.02141/11.54, allocations: 7.055 MB / 3.646 GB, free: 106.4 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/11.54, allocations: 89.09 kB / 3.647 GB, free: 106.4 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01825/11.56, allocations: 5.196 MB / 3.652 GB, free: 106.1 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.00145/11.56, allocations: 88.23 kB / 3.652 GB, free: 106 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.006386/11.56, allocations: 3.144 MB / 3.655 GB, free: 105.1 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.002682/11.57, allocations: 1.121 MB / 3.656 GB, free: 104.6 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001215/11.57, allocations: 89.22 kB / 3.656 GB, free: 104.6 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.0006669/11.57, allocations: 487.3 kB / 3.656 GB, free: 104.3 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005537/11.57, allocations: 2.13 MB / 3.658 GB, free: 104.2 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006941/11.58, allocations: 3.659 MB / 3.662 GB, free: 102.4 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006475/11.59, allocations: 2.895 MB / 3.665 GB, free: 102.3 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001532/11.59, allocations: 15.88 kB / 3.665 GB, free: 102.3 MB / 0.9637 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0168/11.6, allocations: 6.696 MB / 3.671 GB, free: 101.9 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/11.6, allocations: 58.91 kB / 3.671 GB, free: 101.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001348/11.6, allocations: 46.59 kB / 3.672 GB, free: 101.9 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/11.61, allocations: 436.3 kB / 3.672 GB, free: 101.8 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004598/11.61, allocations: 1.033 MB / 3.673 GB, free: 101.8 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005741/11.62, allocations: 5.406 MB / 3.678 GB, free: 99.14 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00827/11.62, allocations: 477.3 kB / 3.679 GB, free: 99.11 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001557/11.63, allocations: 216.2 kB / 3.679 GB, free: 99.11 MB / 0.9637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * 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 (540): * Single equations (assignments): 537 * 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.00785/11.63, allocations: 2.463 MB / 3.681 GB, free: 99 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002776/11.64, allocations: 0.5267 MB / 3.682 GB, free: 98.73 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/11.65, allocations: 5.206 MB / 3.687 GB, free: 98.5 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.942e-05/11.65, allocations: 36.47 kB / 3.687 GB, free: 98.5 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.763e-05/11.65, allocations: 3.844 kB / 3.687 GB, free: 98.5 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008478/11.66, allocations: 4.501 MB / 3.691 GB, free: 98.04 MB / 0.9637 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.03444/11.69, allocations: 11.8 MB / 3.703 GB, free: 97.26 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.06e-05/11.69, allocations: 6.953 kB / 3.703 GB, free: 97.26 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003475/11.7, allocations: 0.6198 MB / 3.703 GB, free: 97.26 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/11.7, allocations: 367.1 kB / 3.704 GB, free: 97.24 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008509/11.7, allocations: 85.97 kB / 3.704 GB, free: 97.24 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006725/11.71, allocations: 5.306 MB / 3.709 GB, free: 94.55 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/11.71, allocations: 3.953 kB / 3.709 GB, free: 94.55 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01668/11.72, allocations: 7.73 MB / 3.717 GB, free: 93.77 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005865/11.73, allocations: 1.26 MB / 3.718 GB, free: 93.41 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00258/11.73, allocations: 73.06 kB / 3.718 GB, free: 93.41 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006434/11.74, allocations: 414.2 kB / 3.718 GB, free: 93.39 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007732/11.74, allocations: 199.4 kB / 3.718 GB, free: 93.39 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007908/11.74, allocations: 143.5 kB / 3.719 GB, free: 93.39 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.009782/11.75, allocations: 4.051 MB / 3.723 GB, free: 93.21 MB / 0.9637 GB Notification: Performance of sort global known variables: time 3.1e-07/11.75, allocations: 0 / 3.723 GB, free: 93.21 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.01135/11.76, allocations: 2.058 MB / 3.725 GB, free: 92.96 MB / 0.9637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (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,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 (296): * Single equations (assignments): 289 * 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.01829/11.78, allocations: 9.213 MB / 3.734 GB, free: 91.43 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.0109/11.79, allocations: 5.362 MB / 3.739 GB, free: 91.04 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/11.79, allocations: 3.5 kB / 3.739 GB, free: 91.04 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.004596/11.79, allocations: 2.491 MB / 3.741 GB, free: 90.77 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01984/11.81, allocations: 3.174 MB / 3.744 GB, free: 90.75 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1601/11.97, allocations: 84.16 MB / 3.827 GB, free: 51.13 MB / 0.9793 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008915/11.98, allocations: 4.72 MB / 3.831 GB, free: 49.57 MB / 0.9793 GB Notification: Performance of simCode: alias equations: time 0.01116/12, allocations: 2.052 MB / 3.833 GB, free: 49.52 MB / 0.9793 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007706/12, allocations: 2.643 MB / 3.836 GB, free: 47.46 MB / 0.9793 GB Notification: Performance of SimCode: time 1.994e-06/12, allocations: 3.875 kB / 3.836 GB, free: 47.46 MB / 0.9793 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.016/13.02, allocations: 175.2 MB / 4.007 GB, free: 143.8 MB / 0.9949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/13.02, allocations: 261.7 kB / 4.007 GB, free: 143.4 MB / 0.9949 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.701/20.72, allocations: 4 kB / 4.007 GB, free: 143.4 MB / 0.9949 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)