Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 289.9 MB / 297.4 MB, free: 6.426 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.001081/0.001081, allocations: 176.8 kB / 366.7 MB, free: 1.703 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.571/1.571, allocations: 205.2 MB / 0.626 GB, free: 7.188 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009644/0.0009641, allocations: 85.5 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.058e-05/2.051e-05, allocations: 4 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7043/0.7044, allocations: 116.3 MB / 0.9733 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.152/1.856, allocations: 407.6 MB / 1.371 GB, free: 149 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/1.856, allocations: 87.34 kB / 1.371 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.976/10.83, allocations: 2.172 GB / 3.543 GB, free: 139.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.854e-06/10.83, allocations: 0 / 3.543 GB, free: 139.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001216/10.83, allocations: 187.2 kB / 3.543 GB, free: 139.8 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.02356/10.86, allocations: 6.113 MB / 3.549 GB, free: 137.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/10.86, allocations: 7.062 kB / 3.549 GB, free: 137.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006586/10.86, allocations: 0.8473 MB / 3.55 GB, free: 137.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02288/10.89, allocations: 7.704 MB / 3.557 GB, free: 136.5 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000424/10.89, allocations: 195.7 kB / 3.558 GB, free: 136.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002802/10.89, allocations: 358.9 kB / 3.558 GB, free: 136.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01622/10.91, allocations: 6.321 MB / 3.564 GB, free: 136.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0233/10.93, allocations: 7.432 MB / 3.571 GB, free: 135.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004691/10.93, allocations: 29.39 kB / 3.571 GB, free: 135.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002728/10.93, allocations: 11.66 kB / 3.571 GB, free: 135.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002225/10.93, allocations: 183.1 kB / 3.572 GB, free: 135.5 MB / 0.9636 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.05724/10.99, allocations: 33.03 MB / 3.604 GB, free: 120.9 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005724/11, allocations: 4.013 MB / 3.608 GB, free: 120.9 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004013/11, allocations: 3.093 MB / 3.611 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/11, allocations: 0.9584 MB / 3.612 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003349/11, allocations: 2.186 MB / 3.614 GB, free: 119.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003527/11.01, allocations: 347.2 kB / 3.614 GB, free: 119.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=317): time 7.013e-06/11.01, allocations: 2.953 kB / 3.614 GB, free: 119.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=317): time 0.008569/11.02, allocations: 4.534 MB / 3.619 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/11.02, allocations: 85.31 kB / 3.619 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007844/11.02, allocations: 4.249 MB / 3.623 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001122/11.03, allocations: 32.02 kB / 3.623 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.003263/11.03, allocations: 3.147 MB / 3.626 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001942/11.03, allocations: 1.079 MB / 3.627 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/11.03, allocations: 0 / 3.627 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000291/11.03, allocations: 490.2 kB / 3.628 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002671/11.03, allocations: 1.963 MB / 3.629 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003587/11.04, allocations: 3.464 MB / 3.633 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004486/11.04, allocations: 2.948 MB / 3.636 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.197e-05/11.04, allocations: 14.34 kB / 3.636 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01115/11.05, allocations: 6.224 MB / 3.642 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.704e-05/11.05, allocations: 52.83 kB / 3.642 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.803e-05/11.05, allocations: 51.84 kB / 3.642 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008889/11.05, allocations: 430.1 kB / 3.642 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003991/11.06, allocations: 1.036 MB / 3.643 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005309/11.06, allocations: 5.139 MB / 3.648 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007467/11.07, allocations: 389.4 kB / 3.649 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001389/11.07, allocations: 217.6 kB / 3.649 GB, free: 107.7 MB / 0.9636 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 () * 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.001288/11.07, allocations: 254.8 kB / 3.649 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008826/11.08, allocations: 4.527 MB / 3.654 GB, free: 106 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002634/11.09, allocations: 471.9 kB / 3.654 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/11.1, allocations: 5 MB / 3.659 GB, free: 104 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.471e-05/11.1, allocations: 34.36 kB / 3.659 GB, free: 104 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/11.1, allocations: 3.562 kB / 3.659 GB, free: 104 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006373/11.1, allocations: 4.406 MB / 3.663 GB, free: 102.3 MB / 0.9636 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.02601/11.13, allocations: 11.11 MB / 3.674 GB, free: 98.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/11.13, allocations: 0 / 3.674 GB, free: 98.11 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002797/11.13, allocations: 0.6286 MB / 3.675 GB, free: 98.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007797/11.13, allocations: 360.1 kB / 3.675 GB, free: 98 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002994/11.13, allocations: 43.34 kB / 3.675 GB, free: 97.98 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004688/11.14, allocations: 5.042 MB / 3.68 GB, free: 94.38 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/11.14, allocations: 7.094 kB / 3.68 GB, free: 94.38 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/11.15, allocations: 7.433 MB / 3.687 GB, free: 91.31 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004589/11.15, allocations: 1.197 MB / 3.688 GB, free: 90.67 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002031/11.16, allocations: 16.8 kB / 3.688 GB, free: 90.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005555/11.16, allocations: 358.5 kB / 3.689 GB, free: 90.64 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005603/11.16, allocations: 196.6 kB / 3.689 GB, free: 90.62 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004996/11.16, allocations: 142.4 kB / 3.689 GB, free: 90.59 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.006628/11.17, allocations: 3.218 MB / 3.692 GB, free: 89.38 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.21e-07/11.17, allocations: 0 / 3.692 GB, free: 89.38 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01195/11.18, allocations: 2.025 MB / 3.694 GB, free: 89 MB / 0.9636 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) * 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.01424/11.2, allocations: 8.889 MB / 3.703 GB, free: 85.09 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.007362/11.2, allocations: 4.945 MB / 3.708 GB, free: 81.91 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/11.2, allocations: 10 kB / 3.708 GB, free: 81.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003208/11.21, allocations: 2.34 MB / 3.71 GB, free: 79.79 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0153/11.22, allocations: 2.491 MB / 3.712 GB, free: 78.13 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03504/11.26, allocations: 13.12 MB / 3.725 GB, free: 67.09 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005261/11.26, allocations: 4.726 MB / 3.73 GB, free: 63.53 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.008226/11.27, allocations: 1.896 MB / 3.732 GB, free: 62.23 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006746/11.28, allocations: 2.635 MB / 3.734 GB, free: 59.81 MB / 0.9636 GB Notification: Performance of SimCode: time 4.448e-06/11.28, allocations: 0 / 3.734 GB, free: 59.81 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.009/12.29, allocations: 145.5 MB / 3.876 GB, free: 140.7 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/12.29, allocations: 172.3 kB / 3.877 GB, free: 140.5 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.317/19.6, allocations: 9.812 kB / 3.877 GB, free: 140.5 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)