Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001936/0.001937, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.361/2.361, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.196/1.196, allocations: 132.2 MB / 423.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005957/0.0005959, allocations: 12 kB / 0.5033 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9215/0.9221, allocations: 81.58 MB / 0.583 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.09536/1.018, allocations: 46.83 MB / 0.6287 GB, free: 1.176 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03949/1.057, allocations: 15.52 MB / 0.6439 GB, free: 2.145 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006227/1.063, allocations: 71.56 kB / 0.6439 GB, free: 2.074 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006085/1.07, allocations: 0.8123 MB / 0.6447 GB, free: 1.258 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01721/1.087, allocations: 2.15 MB / 0.6468 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00967/1.097, allocations: 1.582 MB / 0.6484 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.03034/1.127, allocations: 11.42 MB / 0.6595 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01894/1.146, allocations: 7.186 MB / 0.6665 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01483/1.161, allocations: 4.493 MB / 0.6709 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0139/1.175, allocations: 3.855 MB / 0.6747 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.004674/1.18, allocations: 348 kB / 0.675 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01018/1.19, allocations: 0.8352 MB / 0.6758 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.006116/1.196, allocations: 1.471 MB / 0.6773 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.006126/1.202, allocations: 1.611 MB / 0.6788 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01973/1.222, allocations: 10.27 MB / 0.6889 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.222, allocations: 0 / 0.6889 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.088e-06/1.222, allocations: 0 / 0.6889 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0005215/1.223, allocations: 0 / 0.6889 GB, free: 3.91 MB / 0.5137 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.03025/1.253, allocations: 6.957 MB / 0.6957 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.134e-05/1.253, allocations: 8.031 kB / 0.6957 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005707/1.259, allocations: 0.8381 MB / 0.6965 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008186/1.267, allocations: 0.8655 MB / 0.6973 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02431/1.291, allocations: 6.024 MB / 0.7032 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000911/1.292, allocations: 460.2 kB / 0.7037 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003958/1.296, allocations: 0.5975 MB / 0.7042 GB, free: 4 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03733/1.334, allocations: 8.927 MB / 0.713 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000403/1.334, allocations: 27.77 kB / 0.713 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003545/1.338, allocations: 260 kB / 0.7132 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003163/1.338, allocations: 179.9 kB / 0.7134 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03015/1.368, allocations: 7.414 MB / 0.7206 GB, free: 2.867 MB / 0.545 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.09878/1.467, allocations: 36.22 MB / 0.756 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/1.479, allocations: 4.328 MB / 0.7602 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002042/1.481, allocations: 0.9855 MB / 0.7612 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007273/1.488, allocations: 2.402 MB / 0.7635 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004992/1.493, allocations: 471.4 kB / 0.764 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=317): time 1.833e-05/1.493, allocations: 4 kB / 0.764 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of matching and sorting (n=317): time 0.0243/1.518, allocations: 7.145 MB / 0.771 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/1.518, allocations: 85.91 kB / 0.7711 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01783/1.536, allocations: 5.842 MB / 0.7768 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001312/1.537, allocations: 85.7 kB / 0.7768 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00632/1.543, allocations: 3.188 MB / 0.78 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.003069/1.546, allocations: 1.121 MB / 0.781 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005342/1.547, allocations: 84 kB / 0.7811 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000568/1.548, allocations: 491.6 kB / 0.7816 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005984/1.554, allocations: 2.167 MB / 0.7837 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008949/1.563, allocations: 3.674 MB / 0.7873 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008208/1.571, allocations: 2.923 MB / 0.7902 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.59e-05/1.571, allocations: 16 kB / 0.7902 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.02136/1.592, allocations: 6.768 MB / 0.7968 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/1.593, allocations: 63.72 kB / 0.7968 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001207/1.593, allocations: 48 kB / 0.7969 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/1.594, allocations: 444 kB / 0.7973 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007983/1.602, allocations: 1.057 MB / 0.7983 GB, free: 64 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/1.613, allocations: 5.326 MB / 0.8035 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/1.626, allocations: 482.7 kB / 0.804 GB, free: 10 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001915/1.628, allocations: 216 kB / 0.8042 GB, free: 9.789 MB / 0.6387 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.01054/1.638, allocations: 2.479 MB / 0.8066 GB, free: 7.297 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003681/1.642, allocations: 0.5326 MB / 0.8072 GB, free: 6.758 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02092/1.663, allocations: 5.283 MB / 0.8123 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.073e-05/1.663, allocations: 36.03 kB / 0.8123 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.437e-05/1.663, allocations: 7.984 kB / 0.8124 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6926/2.356, allocations: 4.55 MB / 0.8168 GB, free: 197.8 MB / 0.6387 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.05246/2.408, allocations: 12.16 MB / 0.8287 GB, free: 193 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-05/2.408, allocations: 5.156 kB / 0.8287 GB, free: 193 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005318/2.414, allocations: 0.6269 MB / 0.8293 GB, free: 193 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/2.415, allocations: 371.6 kB / 0.8296 GB, free: 192.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008488/2.416, allocations: 82.77 kB / 0.8297 GB, free: 192.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00847/2.425, allocations: 5.233 MB / 0.8348 GB, free: 189.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/2.425, allocations: 1.5 kB / 0.8348 GB, free: 189.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02465/2.449, allocations: 7.78 MB / 0.8424 GB, free: 185.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008036/2.458, allocations: 1.301 MB / 0.8437 GB, free: 185.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003439/2.461, allocations: 70.16 kB / 0.8438 GB, free: 185.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01102/2.472, allocations: 444.6 kB / 0.8442 GB, free: 185 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00144/2.474, allocations: 205.4 kB / 0.8444 GB, free: 184.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008079/2.474, allocations: 135.9 kB / 0.8445 GB, free: 184.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.01263/2.487, allocations: 4.097 MB / 0.8485 GB, free: 182.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.212e-06/2.487, allocations: 0 / 0.8485 GB, free: 182.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01368/2.501, allocations: 2.016 MB / 0.8505 GB, free: 182.4 MB / 0.6387 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.02418/2.525, allocations: 8.886 MB / 0.8592 GB, free: 175.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0135/2.539, allocations: 5.394 MB / 0.8644 GB, free: 170.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.036e-05/2.539, allocations: 4 kB / 0.8644 GB, free: 170.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.008569/2.547, allocations: 2.521 MB / 0.8669 GB, free: 167.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02291/2.57, allocations: 3.176 MB / 0.87 GB, free: 164.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.243/2.813, allocations: 84.78 MB / 0.9528 GB, free: 76.34 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008623/2.822, allocations: 4.752 MB / 0.9574 GB, free: 71.56 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.01344/2.836, allocations: 2.067 MB / 0.9595 GB, free: 69.52 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008598/2.844, allocations: 2.667 MB / 0.9621 GB, free: 66.86 MB / 0.6387 GB Notification: Performance of SimCode: time 1.814e-06/2.844, allocations: 0 / 0.9621 GB, free: 66.86 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9952/3.84, allocations: 170.5 MB / 1.129 GB, free: 206.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002848/3.84, allocations: 238.9 kB / 1.129 GB, free: 206.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/14.08, allocations: 0 / 1.129 GB, free: 206.1 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) Environment - environmentSimulation: