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.0009469/0.000947, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005449/0.005449, allocations: 171.1 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9183/0.9183, allocations: 135.3 MB / 426.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002973/0.0002973, allocations: 12 kB / 0.5077 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1375, allocations: 82.31 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.2799/0.4174, allocations: 54.51 MB / 0.6413 GB, free: 20.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01562/0.4331, allocations: 17.71 MB / 0.6586 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002124/0.4352, allocations: 63.78 kB / 0.6587 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.4371, allocations: 0.7218 MB / 0.6594 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005151/0.4423, allocations: 2.316 MB / 0.6616 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002846/0.4451, allocations: 1.382 MB / 0.663 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02479/0.47, allocations: 27.77 MB / 0.6901 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01147/0.4815, allocations: 8.45 MB / 0.6983 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009429/0.4909, allocations: 5.214 MB / 0.7034 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009311/0.5003, allocations: 5.802 MB / 0.7091 GB, free: 24 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0009542/0.5012, allocations: 344 kB / 0.7094 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003862/0.5051, allocations: 1.037 MB / 0.7104 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001648/0.5068, allocations: 1.587 MB / 0.712 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.005927/0.5127, allocations: 3.893 MB / 0.7158 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01248/0.5252, allocations: 12.31 MB / 0.7278 GB, free: 12.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.5252, allocations: 4 kB / 0.7278 GB, free: 12.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.734e-06/0.5252, allocations: 0 / 0.7278 GB, free: 12.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003186/0.5256, allocations: 4 kB / 0.7278 GB, free: 12.78 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.01408/0.5396, allocations: 6.879 MB / 0.7345 GB, free: 5.812 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.5397, allocations: 12.03 kB / 0.7346 GB, free: 5.801 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001946/0.5416, allocations: 0.8461 MB / 0.7354 GB, free: 4.945 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002609/0.5443, allocations: 0.8508 MB / 0.7362 GB, free: 4.086 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01084/0.5551, allocations: 6.627 MB / 0.7427 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000343/0.5555, allocations: 456.2 kB / 0.7431 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001382/0.5569, allocations: 0.5975 MB / 0.7437 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01584/0.5727, allocations: 9.031 MB / 0.7525 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001197/0.5729, allocations: 23.81 kB / 0.7525 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006561/0.5735, allocations: 264 kB / 0.7528 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/0.5737, allocations: 176 kB / 0.753 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01236/0.5861, allocations: 7.465 MB / 0.7603 GB, free: 11.08 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.04118/0.6273, allocations: 35.98 MB / 0.7954 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005772/0.6331, allocations: 4.293 MB / 0.7996 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004391/0.6375, allocations: 3.338 MB / 0.8028 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/0.6387, allocations: 0.974 MB / 0.8038 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00358/0.6423, allocations: 2.406 MB / 0.8061 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002518/0.6448, allocations: 443.8 kB / 0.8066 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 8.897e-06/0.6449, allocations: 7.984 kB / 0.8066 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01206/0.6569, allocations: 7.125 MB / 0.8135 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.657, allocations: 89.84 kB / 0.8136 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007112/0.6641, allocations: 5.471 MB / 0.819 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004417/0.6646, allocations: 85.7 kB / 0.819 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002668/0.6673, allocations: 3.192 MB / 0.8222 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001173/0.6684, allocations: 1.117 MB / 0.8232 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004524/0.6689, allocations: 359.3 kB / 0.8236 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.314e-05/0.669, allocations: 309.1 kB / 0.8239 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003062/0.6721, allocations: 2.163 MB / 0.826 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003969/0.676, allocations: 3.689 MB / 0.8296 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007655/0.6837, allocations: 6.311 MB / 0.8358 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.503e-05/0.6837, allocations: 12 kB / 0.8358 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01049/0.6942, allocations: 6.764 MB / 0.8424 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.66e-05/0.6943, allocations: 57.62 kB / 0.8424 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-05/0.6944, allocations: 48 kB / 0.8425 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009161/0.6953, allocations: 438.5 kB / 0.8429 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003566/0.6989, allocations: 1.018 MB / 0.8439 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005249/0.7041, allocations: 5.256 MB / 0.849 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004822/0.709, allocations: 467 kB / 0.8495 GB, free: 11.53 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004504/0.7094, allocations: 223.9 kB / 0.8497 GB, free: 11.31 MB / 0.67 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003743/0.7132, allocations: 2.487 MB / 0.8521 GB, free: 8.809 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/0.7142, allocations: 0.521 MB / 0.8526 GB, free: 8.281 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007917/0.7221, allocations: 5.252 MB / 0.8577 GB, free: 2.984 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.889e-05/0.7222, allocations: 35.94 kB / 0.8578 GB, free: 2.949 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.7222, allocations: 4 kB / 0.8578 GB, free: 2.945 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4665/1.189, allocations: 4.534 MB / 0.8622 GB, free: 197.4 MB / 0.67 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.01556/1.204, allocations: 11.97 MB / 0.8739 GB, free: 195.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/1.204, allocations: 10.2 kB / 0.8739 GB, free: 195.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002317/1.207, allocations: 0.6468 MB / 0.8746 GB, free: 195 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006499/1.207, allocations: 372.3 kB / 0.8749 GB, free: 194.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/1.208, allocations: 84.23 kB / 0.875 GB, free: 194.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003711/1.211, allocations: 5.182 MB / 0.88 GB, free: 191.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.211, allocations: 3.094 kB / 0.88 GB, free: 191.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008727/1.22, allocations: 7.625 MB / 0.8875 GB, free: 188.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002571/1.223, allocations: 1.215 MB / 0.8887 GB, free: 187.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000692/1.223, allocations: 68.98 kB / 0.8887 GB, free: 187.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003364/1.227, allocations: 467.3 kB / 0.8892 GB, free: 187.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003657/1.227, allocations: 209.5 kB / 0.8894 GB, free: 187.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002503/1.227, allocations: 140 kB / 0.8895 GB, free: 187.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005183/1.232, allocations: 3.803 MB / 0.8932 GB, free: 186.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/1.232, allocations: 0 / 0.8932 GB, free: 186.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00619/1.239, allocations: 1.99 MB / 0.8952 GB, free: 186.3 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01198/1.251, allocations: 8.579 MB / 0.9036 GB, free: 182.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00741/1.258, allocations: 5.384 MB / 0.9088 GB, free: 180.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/1.258, allocations: 3.5 kB / 0.9088 GB, free: 180.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003168/1.261, allocations: 2.513 MB / 0.9113 GB, free: 179.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01527/1.277, allocations: 3.231 MB / 0.9144 GB, free: 178.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1147/1.391, allocations: 65.72 MB / 0.9786 GB, free: 124.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002964/1.394, allocations: 4.624 MB / 0.9831 GB, free: 120 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005478/1.4, allocations: 1.983 MB / 0.9851 GB, free: 118 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002883/1.403, allocations: 2.67 MB / 0.9877 GB, free: 115.4 MB / 0.67 GB Notification: Performance of SimCode: time 7.71e-07/1.403, allocations: 0 / 0.9877 GB, free: 115.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.211/2.614, allocations: 157.9 MB / 1.142 GB, free: 192.1 MB / 0.6857 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/2.614, allocations: 267.7 kB / 1.142 GB, free: 191.8 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.356/7.97, allocations: 0 / 1.142 GB, free: 191.8 MB / 0.6857 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/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)