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.001611/0.001611, allocations: 99 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.002679/0.002679, allocations: 177.3 kB / 15.94 MB, free: 228 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.346/2.346, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.591/1.591, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005932/0.0005934, allocations: 12 kB / 0.5069 GB, free: 5.121 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2803, allocations: 82.31 MB / 0.5873 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.6362/0.9166, allocations: 46.8 MB / 0.633 GB, free: 26.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03191/0.9486, allocations: 15.54 MB / 0.6482 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005058/0.9538, allocations: 69.09 kB / 0.6482 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00473/0.9585, allocations: 0.807 MB / 0.649 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01268/0.9713, allocations: 2.157 MB / 0.6511 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007996/0.9793, allocations: 1.583 MB / 0.6527 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02324/1.003, allocations: 11.41 MB / 0.6638 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02658/1.029, allocations: 7.173 MB / 0.6708 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01788/1.047, allocations: 4.495 MB / 0.6752 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01572/1.063, allocations: 3.856 MB / 0.679 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.004321/1.067, allocations: 346.1 kB / 0.6793 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01189/1.079, allocations: 0.8418 MB / 0.6801 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.006795/1.086, allocations: 1.47 MB / 0.6816 GB, free: 152 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.009317/1.096, allocations: 1.61 MB / 0.6831 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.02698/1.123, allocations: 10.28 MB / 0.6932 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/1.123, allocations: 1.125 kB / 0.6932 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.549e-06/1.123, allocations: 0 / 0.6932 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0007677/1.123, allocations: 0 / 0.6932 GB, free: 10.84 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.03667/1.16, allocations: 6.952 MB / 0.7 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.197e-05/1.16, allocations: 9.062 kB / 0.7 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006762/1.167, allocations: 0.8434 MB / 0.7008 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009186/1.176, allocations: 0.8564 MB / 0.7016 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02519/1.201, allocations: 6.028 MB / 0.7075 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009205/1.202, allocations: 456.2 kB / 0.7079 GB, free: 320 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005089/1.208, allocations: 0.6015 MB / 0.7085 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04123/1.249, allocations: 8.937 MB / 0.7173 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003347/1.249, allocations: 19.78 kB / 0.7173 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003327/1.253, allocations: 260 kB / 0.7175 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003349/1.253, allocations: 183.9 kB / 0.7177 GB, free: 6 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03057/1.284, allocations: 7.41 MB / 0.7249 GB, free: 14.57 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.103/1.387, allocations: 36.21 MB / 0.7603 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/1.4, allocations: 4.335 MB / 0.7645 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002373/1.402, allocations: 0.9895 MB / 0.7655 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008639/1.411, allocations: 2.39 MB / 0.7678 GB, free: 396 kB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005999/1.417, allocations: 471.5 kB / 0.7683 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=317): time 2.231e-05/1.417, allocations: 0 / 0.7683 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=317): time 0.02338/1.44, allocations: 7.155 MB / 0.7753 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/1.44, allocations: 89.86 kB / 0.7754 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01614/1.457, allocations: 5.826 MB / 0.781 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001319/1.458, allocations: 97.7 kB / 0.7811 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005573/1.464, allocations: 3.196 MB / 0.7843 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002662/1.466, allocations: 1.113 MB / 0.7853 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004265/1.467, allocations: 92 kB / 0.7854 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0004029/1.467, allocations: 491.6 kB / 0.7859 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004229/1.471, allocations: 2.163 MB / 0.788 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00553/1.477, allocations: 3.685 MB / 0.7916 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005464/1.482, allocations: 2.92 MB / 0.7945 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.653e-05/1.482, allocations: 12 kB / 0.7945 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01488/1.497, allocations: 6.775 MB / 0.8011 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.507e-05/1.497, allocations: 49.7 kB / 0.8011 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.977e-05/1.498, allocations: 48 kB / 0.8012 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/1.499, allocations: 445.2 kB / 0.8016 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004613/1.503, allocations: 1.057 MB / 0.8026 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006442/1.51, allocations: 5.315 MB / 0.8078 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007959/1.518, allocations: 490.7 kB / 0.8083 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001176/1.519, allocations: 219.9 kB / 0.8085 GB, free: 5.512 MB / 0.6231 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.007284/1.526, allocations: 2.479 MB / 0.8109 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002325/1.529, allocations: 0.5288 MB / 0.8114 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/1.539, allocations: 5.281 MB / 0.8166 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.735e-05/1.54, allocations: 35.95 kB / 0.8166 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/1.54, allocations: 4.047 kB / 0.8166 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008285/1.548, allocations: 4.555 MB / 0.8211 GB, free: 8.453 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.03419/1.582, allocations: 12.17 MB / 0.833 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/1.582, allocations: 4 kB / 0.833 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003031/1.585, allocations: 0.6243 MB / 0.8336 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009641/1.586, allocations: 368 kB / 0.8339 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003744/1.587, allocations: 87.95 kB / 0.834 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006328/1.593, allocations: 5.25 MB / 0.8392 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.593, allocations: 0 / 0.8392 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01533/1.608, allocations: 7.775 MB / 0.8467 GB, free: 13.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006024/1.614, allocations: 1.299 MB / 0.848 GB, free: 12.28 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002524/1.617, allocations: 67.98 kB / 0.8481 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00646/1.623, allocations: 449.1 kB / 0.8485 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007582/1.624, allocations: 202.2 kB / 0.8487 GB, free: 11.58 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005371/1.625, allocations: 135.9 kB / 0.8488 GB, free: 11.45 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.009433/1.634, allocations: 4.099 MB / 0.8528 GB, free: 7.371 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.11e-07/1.634, allocations: 0 / 0.8528 GB, free: 7.371 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01127/1.645, allocations: 2.003 MB / 0.8548 GB, free: 5.363 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.517/2.163, allocations: 8.896 MB / 0.8635 GB, free: 199.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01742/2.18, allocations: 5.396 MB / 0.8687 GB, free: 198.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.692e-05/2.18, allocations: 2.406 kB / 0.8687 GB, free: 198.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008053/2.188, allocations: 2.518 MB / 0.8712 GB, free: 198.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02937/2.218, allocations: 3.157 MB / 0.8743 GB, free: 197.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3796/2.597, allocations: 84.8 MB / 0.9571 GB, free: 134 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01322/2.611, allocations: 4.747 MB / 0.9617 GB, free: 132.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.01228/2.623, allocations: 2.066 MB / 0.9638 GB, free: 132.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007436/2.63, allocations: 2.67 MB / 0.9664 GB, free: 130 MB / 0.67 GB Notification: Performance of SimCode: time 1.082e-06/2.63, allocations: 0 / 0.9664 GB, free: 130 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9305/3.561, allocations: 170.5 MB / 1.133 GB, free: 197.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003157/3.561, allocations: 245.5 kB / 1.133 GB, free: 197.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/13.98, allocations: 0 / 1.133 GB, free: 197.2 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: