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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008089/0.000809, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0008477/0.0008477, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9548/0.9548, allocations: 135.3 MB / 426.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003555, allocations: 8 kB / 0.5071 GB, free: 5.043 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1753, allocations: 82.31 MB / 0.5875 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4134/0.5887, allocations: 51.52 MB / 0.6378 GB, free: 23.62 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02151/0.6103, allocations: 16.79 MB / 0.6542 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003228/0.6136, allocations: 64.28 kB / 0.6542 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002037/0.6156, allocations: 0.6293 MB / 0.6549 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005742/0.6214, allocations: 1.985 MB / 0.6568 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.6244, allocations: 1.089 MB / 0.6579 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02554/0.65, allocations: 23.57 MB / 0.6809 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01304/0.6631, allocations: 7.171 MB / 0.6879 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01311/0.6762, allocations: 5.305 MB / 0.6931 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01459/0.6908, allocations: 5.491 MB / 0.6984 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002372/0.6932, allocations: 347.6 kB / 0.6988 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007539/0.7008, allocations: 0.7822 MB / 0.6995 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.003639/0.7044, allocations: 1.524 MB / 0.701 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.005531/0.71, allocations: 1.614 MB / 0.7026 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01496/0.725, allocations: 10.34 MB / 0.7127 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.725, allocations: 0 / 0.7127 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.265e-06/0.725, allocations: 0 / 0.7127 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004536/0.7255, allocations: 0 / 0.7127 GB, free: 12.29 MB / 0.5294 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.01706/0.7426, allocations: 6.953 MB / 0.7195 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.7426, allocations: 8.031 kB / 0.7195 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003057/0.7457, allocations: 0.842 MB / 0.7203 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002977/0.7487, allocations: 0.8577 MB / 0.7211 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01228/0.761, allocations: 6.474 MB / 0.7275 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003735/0.7614, allocations: 460.2 kB / 0.7279 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001542/0.7629, allocations: 0.5937 MB / 0.7285 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01788/0.7808, allocations: 8.992 MB / 0.7373 GB, free: 2.633 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000133/0.781, allocations: 15.88 kB / 0.7373 GB, free: 2.617 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006665/0.7817, allocations: 260 kB / 0.7375 GB, free: 2.363 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001727/0.7819, allocations: 184 kB / 0.7377 GB, free: 2.184 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0141/0.796, allocations: 7.414 MB / 0.7449 GB, free: 10.76 MB / 0.5606 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.04975/0.8457, allocations: 35.95 MB / 0.78 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006509/0.8523, allocations: 4.272 MB / 0.7842 GB, free: 496 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00505/0.8574, allocations: 3.392 MB / 0.7875 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/0.8587, allocations: 0.9739 MB / 0.7885 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00408/0.8628, allocations: 2.386 MB / 0.7908 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002712/0.8656, allocations: 447.7 kB / 0.7912 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=317): time 1.302e-05/0.8656, allocations: 0 / 0.7912 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=317): time 0.01302/0.8786, allocations: 7.086 MB / 0.7982 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.8787, allocations: 89.91 kB / 0.7982 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009962/0.8887, allocations: 5.424 MB / 0.8035 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0004116/0.8891, allocations: 89.69 kB / 0.8036 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.003007/0.8921, allocations: 3.196 MB / 0.8068 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001228/0.8934, allocations: 1.113 MB / 0.8078 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/0.8936, allocations: 88 kB / 0.8079 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0003254/0.894, allocations: 495.6 kB / 0.8084 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003521/0.8975, allocations: 2.14 MB / 0.8105 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004981/0.9025, allocations: 3.67 MB / 0.8141 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004625/0.9071, allocations: 2.908 MB / 0.8169 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.991e-05/0.9072, allocations: 12 kB / 0.8169 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.012/0.9192, allocations: 6.725 MB / 0.8235 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.509e-05/0.9193, allocations: 53.7 kB / 0.8235 GB, free: 7.055 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.78e-05/0.9194, allocations: 52 kB / 0.8236 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.9205, allocations: 443.1 kB / 0.824 GB, free: 6.566 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003531/0.924, allocations: 1.01 MB / 0.825 GB, free: 5.555 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006038/0.9301, allocations: 5.256 MB / 0.8301 GB, free: 32 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005129/0.9352, allocations: 470.7 kB / 0.8306 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007104/0.9359, allocations: 212 kB / 0.8308 GB, free: 15.36 MB / 0.6544 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.005006/0.941, allocations: 2.483 MB / 0.8332 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001637/0.9426, allocations: 0.5327 MB / 0.8337 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009947/0.9526, allocations: 5.235 MB / 0.8388 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.593e-05/0.9526, allocations: 39.92 kB / 0.8389 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.163e-05/0.9526, allocations: 4 kB / 0.8389 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006969/0.9596, allocations: 4.516 MB / 0.8433 GB, free: 2.387 MB / 0.6544 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.02402/0.9837, allocations: 11.97 MB / 0.855 GB, free: 6.227 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.9837, allocations: 0 / 0.855 GB, free: 6.227 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002802/0.9865, allocations: 0.6477 MB / 0.8556 GB, free: 5.578 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008683/0.9874, allocations: 373.3 kB / 0.856 GB, free: 5.207 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003078/0.9877, allocations: 83.95 kB / 0.856 GB, free: 5.125 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3125/1.3, allocations: 5.164 MB / 0.8611 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.3, allocations: 1.188 kB / 0.8611 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01186/1.312, allocations: 7.597 MB / 0.8685 GB, free: 194.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00356/1.316, allocations: 1.216 MB / 0.8697 GB, free: 194.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/1.317, allocations: 70.98 kB / 0.8698 GB, free: 194.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003398/1.32, allocations: 471.1 kB / 0.8702 GB, free: 194.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003521/1.321, allocations: 202.4 kB / 0.8704 GB, free: 194.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003057/1.321, allocations: 140 kB / 0.8705 GB, free: 194.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00677/1.328, allocations: 3.763 MB / 0.8742 GB, free: 193.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.8e-07/1.328, allocations: 2.359 kB / 0.8742 GB, free: 193.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007046/1.335, allocations: 1.982 MB / 0.8762 GB, free: 193.1 MB / 0.67 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.01073/1.345, allocations: 8.523 MB / 0.8845 GB, free: 189.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00787/1.353, allocations: 5.351 MB / 0.8897 GB, free: 187.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/1.353, allocations: 5.344 kB / 0.8897 GB, free: 187.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003593/1.357, allocations: 2.513 MB / 0.8922 GB, free: 186.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01661/1.374, allocations: 3.227 MB / 0.8953 GB, free: 185.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1329/1.506, allocations: 51.22 MB / 0.9453 GB, free: 155.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004058/1.511, allocations: 4.629 MB / 0.9499 GB, free: 153.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006958/1.518, allocations: 1.984 MB / 0.9518 GB, free: 152.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004274/1.522, allocations: 2.665 MB / 0.9544 GB, free: 149.7 MB / 0.67 GB Notification: Performance of SimCode: time 1.673e-06/1.522, allocations: 0 / 0.9544 GB, free: 149.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5349/2.057, allocations: 169 MB / 1.119 GB, free: 179.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/2.057, allocations: 262.5 kB / 1.12 GB, free: 179.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.483/7.54, allocations: 0 / 1.12 GB, free: 179.5 MB / 0.6856 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) Environment - environmentSimulation: