Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002093/0.002093, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9326/0.9326, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 221.3 MB / 400.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000939/0.0009393, allocations: 82.05 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.617e-05/3.619e-05, allocations: 2.75 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2003, allocations: 82.3 MB / 0.6405 GB, free: 7.75 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.605/1.806, allocations: 381.1 MB / 1.013 GB, free: 241 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003888/1.806, allocations: 87.66 kB / 1.013 GB, free: 241 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.955/11.76, allocations: 2.227 GB / 3.239 GB, free: 82.84 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.054e-06/11.76, allocations: 2.062 kB / 3.239 GB, free: 82.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001356/11.76, allocations: 197.6 kB / 3.24 GB, free: 82.8 MB / 0.7136 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.02435/11.79, allocations: 6.147 MB / 3.246 GB, free: 80.53 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/11.79, allocations: 11.09 kB / 3.246 GB, free: 80.53 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00421/11.79, allocations: 0.8316 MB / 3.246 GB, free: 80.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006223/11.8, allocations: 0.8549 MB / 3.247 GB, free: 80.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02649/11.82, allocations: 7.92 MB / 3.255 GB, free: 79.21 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007032/11.82, allocations: 462.1 kB / 3.255 GB, free: 79.19 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003456/11.83, allocations: 0.5914 MB / 3.256 GB, free: 79.19 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02762/11.86, allocations: 8.33 MB / 3.264 GB, free: 78.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005126/11.86, allocations: 20.69 kB / 3.264 GB, free: 78.22 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002973/11.86, allocations: 263.2 kB / 3.264 GB, free: 78.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003106/11.86, allocations: 242.3 kB / 3.265 GB, free: 78.12 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01815/11.88, allocations: 6.724 MB / 3.271 GB, free: 75.7 MB / 0.7136 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.06932/11.95, allocations: 34.23 MB / 3.305 GB, free: 53.72 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007804/11.96, allocations: 4.179 MB / 3.309 GB, free: 52.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005668/11.96, allocations: 3.458 MB / 3.312 GB, free: 51.06 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/11.96, allocations: 0.954 MB / 3.313 GB, free: 50.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0051/11.97, allocations: 2.293 MB / 3.315 GB, free: 49.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004724/11.97, allocations: 487.5 kB / 3.316 GB, free: 48.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=317): time 1.78e-05/11.97, allocations: 0 / 3.316 GB, free: 48.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=317): time 0.01125/11.98, allocations: 4.519 MB / 3.32 GB, free: 47.31 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.768e-05/11.98, allocations: 95.59 kB / 3.32 GB, free: 47.23 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01613/12, allocations: 5.222 MB / 3.325 GB, free: 42.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001438/12, allocations: 85.7 kB / 3.325 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.006052/12.01, allocations: 3.184 MB / 3.329 GB, free: 39.78 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002389/12.01, allocations: 1.115 MB / 3.33 GB, free: 38.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/12.01, allocations: 88 kB / 3.33 GB, free: 38.69 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000523/12.01, allocations: 494.8 kB / 3.33 GB, free: 38.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003841/12.02, allocations: 2.046 MB / 3.332 GB, free: 36.46 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004615/12.02, allocations: 3.576 MB / 3.336 GB, free: 32.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004587/12.02, allocations: 2.836 MB / 3.338 GB, free: 30.03 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.467e-05/12.02, allocations: 12 kB / 3.338 GB, free: 30.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01267/12.04, allocations: 6.549 MB / 3.345 GB, free: 23.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.542e-05/12.04, allocations: 57.69 kB / 3.345 GB, free: 23.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.711e-05/12.04, allocations: 48 kB / 3.345 GB, free: 23.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000971/12.04, allocations: 437.6 kB / 3.345 GB, free: 22.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003977/12.04, allocations: 1.037 MB / 3.346 GB, free: 21.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005143/12.05, allocations: 5.297 MB / 3.352 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007346/12.05, allocations: 482.7 kB / 3.352 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001054/12.06, allocations: 216 kB / 3.352 GB, free: 15.6 MB / 0.7136 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.001902/12.06, allocations: 400.7 kB / 3.353 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002638/12.06, allocations: 0.5249 MB / 3.353 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/12.07, allocations: 5.079 MB / 3.358 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.984e-05/12.07, allocations: 32 kB / 3.358 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.932e-05/12.07, allocations: 4 kB / 3.358 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006109/12.08, allocations: 4.367 MB / 3.362 GB, free: 5.031 MB / 0.7136 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.6037/12.68, allocations: 11.83 MB / 3.374 GB, free: 78.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/12.68, allocations: 1.828 kB / 3.374 GB, free: 78.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003315/12.69, allocations: 0.6271 MB / 3.375 GB, free: 78.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009634/12.69, allocations: 370 kB / 3.375 GB, free: 78.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004009/12.69, allocations: 81.02 kB / 3.375 GB, free: 78.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005599/12.69, allocations: 5.194 MB / 3.38 GB, free: 75.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/12.69, allocations: 9.078 kB / 3.38 GB, free: 75.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/12.7, allocations: 7.536 MB / 3.387 GB, free: 75.45 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005121/12.71, allocations: 1.266 MB / 3.389 GB, free: 75.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001932/12.71, allocations: 69.3 kB / 3.389 GB, free: 75.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004912/12.72, allocations: 410.3 kB / 3.389 GB, free: 75.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005116/12.72, allocations: 201.9 kB / 3.389 GB, free: 75.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000374/12.72, allocations: 139.7 kB / 3.389 GB, free: 75.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.009426/12.73, allocations: 4.048 MB / 3.393 GB, free: 75.03 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.52e-07/12.73, allocations: 2.75 kB / 3.393 GB, free: 75.03 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01003/12.74, allocations: 2.06 MB / 3.395 GB, free: 74.9 MB / 0.7136 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.01351/12.75, allocations: 9.017 MB / 3.404 GB, free: 73.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007333/12.76, allocations: 5.192 MB / 3.409 GB, free: 73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/12.76, allocations: 5.938 kB / 3.409 GB, free: 73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003106/12.76, allocations: 2.427 MB / 3.412 GB, free: 72.74 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01731/12.78, allocations: 3.171 MB / 3.415 GB, free: 72.72 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03374/12.81, allocations: 13.71 MB / 3.428 GB, free: 70.49 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006161/12.82, allocations: 4.757 MB / 3.433 GB, free: 85.63 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00764/12.83, allocations: 2.095 MB / 3.435 GB, free: 85.58 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005224/12.83, allocations: 2.678 MB / 3.437 GB, free: 85.57 MB / 0.7292 GB Notification: Performance of SimCode: time 1.994e-06/12.83, allocations: 0 / 3.437 GB, free: 85.57 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2934/13.12, allocations: 176.8 MB / 3.61 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/13.12, allocations: 224.2 kB / 3.61 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.554/21.68, allocations: 0 / 3.61 GB, free: 7.797 MB / 0.7292 GB (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)