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.0009146/0.0009146, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001236/0.001236, allocations: 172.7 kB / 15.95 MB, free: 208 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.347/1.347, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7378/0.7378, allocations: 132.3 MB / 423.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 8 kB / 0.5035 GB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.507/0.5073, allocations: 81.57 MB / 0.5831 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05625/0.5637, allocations: 51.54 MB / 0.6335 GB, free: 12.69 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02382/0.5875, allocations: 16.8 MB / 0.6499 GB, free: 11.97 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003441/0.591, allocations: 71.56 kB / 0.65 GB, free: 11.9 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002381/0.5934, allocations: 0.6248 MB / 0.6506 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007201/0.6006, allocations: 1.986 MB / 0.6525 GB, free: 9.277 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003557/0.6042, allocations: 1.091 MB / 0.6536 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02576/0.63, allocations: 23.57 MB / 0.6766 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01144/0.6414, allocations: 7.177 MB / 0.6836 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01285/0.6543, allocations: 5.311 MB / 0.6888 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01233/0.6667, allocations: 5.489 MB / 0.6941 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002858/0.6696, allocations: 344 kB / 0.6945 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006876/0.6765, allocations: 0.7879 MB / 0.6952 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00327/0.6798, allocations: 1.522 MB / 0.6967 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004364/0.6842, allocations: 1.615 MB / 0.6983 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01309/0.6973, allocations: 10.32 MB / 0.7084 GB, free: 15.85 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.6973, allocations: 4 kB / 0.7084 GB, free: 15.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6973, allocations: 0 / 0.7084 GB, free: 15.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000436/0.6978, allocations: 0 / 0.7084 GB, free: 15.84 MB / 0.545 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.01583/0.7136, allocations: 6.96 MB / 0.7152 GB, free: 8.793 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.7137, allocations: 8.031 kB / 0.7152 GB, free: 8.785 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003407/0.7171, allocations: 0.842 MB / 0.716 GB, free: 7.934 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004014/0.7211, allocations: 0.8577 MB / 0.7168 GB, free: 7.066 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01195/0.7331, allocations: 6.467 MB / 0.7232 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003683/0.7335, allocations: 460.2 kB / 0.7236 GB, free: 96 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001712/0.7352, allocations: 0.5975 MB / 0.7242 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/0.7534, allocations: 8.974 MB / 0.7329 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001365/0.7536, allocations: 15.88 kB / 0.733 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007179/0.7543, allocations: 268 kB / 0.7332 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001721/0.7545, allocations: 183.9 kB / 0.7334 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01312/0.7676, allocations: 7.406 MB / 0.7406 GB, free: 14.33 MB / 0.5762 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.04804/0.8157, allocations: 35.97 MB / 0.7757 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006804/0.8225, allocations: 4.273 MB / 0.7799 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005069/0.8276, allocations: 3.386 MB / 0.7832 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/0.829, allocations: 0.9739 MB / 0.7842 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004383/0.8334, allocations: 2.39 MB / 0.7865 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002934/0.8364, allocations: 447.8 kB / 0.7869 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 9.799e-06/0.8364, allocations: 0 / 0.7869 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01367/0.8501, allocations: 7.078 MB / 0.7939 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.8502, allocations: 93.91 kB / 0.7939 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009998/0.8602, allocations: 5.424 MB / 0.7992 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007868/0.861, allocations: 85.7 kB / 0.7993 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00353/0.8646, allocations: 3.192 MB / 0.8024 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001788/0.8664, allocations: 1.117 MB / 0.8035 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006303/0.867, allocations: 88 kB / 0.8036 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0003818/0.8674, allocations: 495.6 kB / 0.8041 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003915/0.8713, allocations: 2.144 MB / 0.8062 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004769/0.8761, allocations: 3.67 MB / 0.8098 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004831/0.881, allocations: 2.904 MB / 0.8126 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.532e-05/0.881, allocations: 12 kB / 0.8126 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.3594/1.24, allocations: 6.722 MB / 0.8192 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.848e-05/1.241, allocations: 59.45 kB / 0.8192 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.782e-05/1.241, allocations: 48.59 kB / 0.8193 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/1.242, allocations: 446.2 kB / 0.8197 GB, free: 197.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004046/1.246, allocations: 1.013 MB / 0.8207 GB, free: 197.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00513/1.251, allocations: 5.241 MB / 0.8258 GB, free: 193.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005398/1.256, allocations: 469.3 kB / 0.8263 GB, free: 193.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008498/1.257, allocations: 215.9 kB / 0.8265 GB, free: 193.4 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.005142/1.262, allocations: 2.485 MB / 0.8289 GB, free: 192.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001539/1.264, allocations: 0.533 MB / 0.8294 GB, free: 192.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008603/1.273, allocations: 5.233 MB / 0.8345 GB, free: 190.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.745e-05/1.273, allocations: 30.78 kB / 0.8346 GB, free: 190.3 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/1.273, allocations: 8.078 kB / 0.8346 GB, free: 190.3 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006558/1.279, allocations: 4.513 MB / 0.839 GB, free: 188.4 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.01912/1.298, allocations: 11.97 MB / 0.8507 GB, free: 182.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/1.298, allocations: 3.656 kB / 0.8507 GB, free: 182.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002426/1.301, allocations: 0.6494 MB / 0.8513 GB, free: 182.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006959/1.302, allocations: 370.2 kB / 0.8516 GB, free: 182 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002076/1.302, allocations: 82.77 kB / 0.8517 GB, free: 182 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003931/1.306, allocations: 5.18 MB / 0.8568 GB, free: 177.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.306, allocations: 3.562 kB / 0.8568 GB, free: 177.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009389/1.315, allocations: 7.599 MB / 0.8642 GB, free: 170.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003012/1.318, allocations: 1.218 MB / 0.8654 GB, free: 169.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/1.319, allocations: 63.98 kB / 0.8655 GB, free: 169.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003298/1.322, allocations: 479.2 kB / 0.8659 GB, free: 168.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003128/1.323, allocations: 202.2 kB / 0.8661 GB, free: 168.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000239/1.323, allocations: 143.9 kB / 0.8662 GB, free: 168.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004793/1.328, allocations: 3.76 MB / 0.8699 GB, free: 164.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/1.328, allocations: 3.969 kB / 0.8699 GB, free: 164.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006039/1.334, allocations: 1.985 MB / 0.8719 GB, free: 162.7 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.01047/1.344, allocations: 8.51 MB / 0.8802 GB, free: 154.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006678/1.351, allocations: 5.358 MB / 0.8854 GB, free: 148.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.351, allocations: 4 kB / 0.8854 GB, free: 148.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00271/1.354, allocations: 2.502 MB / 0.8878 GB, free: 146.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01338/1.367, allocations: 3.228 MB / 0.891 GB, free: 143.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1177/1.485, allocations: 51.22 MB / 0.941 GB, free: 88.54 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004857/1.49, allocations: 4.635 MB / 0.9455 GB, free: 83.87 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006416/1.496, allocations: 1.989 MB / 0.9475 GB, free: 81.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004017/1.5, allocations: 2.663 MB / 0.9501 GB, free: 79.24 MB / 0.6387 GB Notification: Performance of SimCode: time 8.91e-07/1.5, allocations: 0 / 0.9501 GB, free: 79.24 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5354/2.036, allocations: 169 MB / 1.115 GB, free: 214.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/2.036, allocations: 241.5 kB / 1.115 GB, free: 213.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.416/7.452, allocations: 0 / 1.115 GB, free: 213.8 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: