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: translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008439/0.0008439, allocations: 94.3 kB / 15.05 MB, free: 1.113 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.0008377/0.0008378, allocations: 181.3 kB / 15.95 MB, free: 220 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.196/1.196, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.871/0.871, allocations: 135.2 MB / 426.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003097, allocations: 8 kB / 0.5068 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.153, allocations: 82.31 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.2947/0.4477, allocations: 46.81 MB / 0.6329 GB, free: 26.92 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01612/0.4639, allocations: 15.53 MB / 0.6481 GB, free: 16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002576/0.4665, allocations: 66.28 kB / 0.6481 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002615/0.4691, allocations: 0.8198 MB / 0.6489 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006054/0.4752, allocations: 2.147 MB / 0.651 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004021/0.4792, allocations: 1.581 MB / 0.6526 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01367/0.4929, allocations: 11.41 MB / 0.6637 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01071/0.5037, allocations: 7.182 MB / 0.6707 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009737/0.5135, allocations: 4.495 MB / 0.6751 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008773/0.5222, allocations: 3.86 MB / 0.6789 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.002183/0.5245, allocations: 346.5 kB / 0.6792 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006641/0.5311, allocations: 0.8362 MB / 0.68 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003901/0.5351, allocations: 1.462 MB / 0.6815 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.005631/0.5407, allocations: 1.611 MB / 0.683 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01515/0.5559, allocations: 10.28 MB / 0.6931 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5559, allocations: 7.938 kB / 0.6931 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.003e-06/0.5559, allocations: 0 / 0.6931 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004992/0.5564, allocations: 0 / 0.6931 GB, free: 11.08 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.02037/0.5768, allocations: 6.955 MB / 0.6999 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.5769, allocations: 9.594 kB / 0.6999 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005225/0.5821, allocations: 0.8518 MB / 0.7007 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01533/0.5974, allocations: 6.029 MB / 0.7066 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003743/0.5978, allocations: 456.2 kB / 0.707 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001802/0.5997, allocations: 0.5975 MB / 0.7076 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01658/0.6162, allocations: 8.937 MB / 0.7163 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/0.6164, allocations: 31.72 kB / 0.7164 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007163/0.6171, allocations: 260 kB / 0.7166 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001503/0.6173, allocations: 176 kB / 0.7168 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/0.6302, allocations: 7.414 MB / 0.724 GB, free: 15.64 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.04668/0.6769, allocations: 36.22 MB / 0.7594 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005788/0.6827, allocations: 4.328 MB / 0.7636 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/0.6839, allocations: 0.9818 MB / 0.7646 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003335/0.6872, allocations: 2.394 MB / 0.7669 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003013/0.6903, allocations: 471.4 kB / 0.7674 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=317): time 6.132e-06/0.6903, allocations: 0 / 0.7674 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of matching and sorting (n=317): time 0.0116/0.7019, allocations: 7.147 MB / 0.7744 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.702, allocations: 97.78 kB / 0.7744 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00827/0.7102, allocations: 5.83 MB / 0.7801 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0007725/0.711, allocations: 89.7 kB / 0.7802 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002987/0.714, allocations: 3.196 MB / 0.7833 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001721/0.7158, allocations: 1.117 MB / 0.7844 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.716, allocations: 96 kB / 0.7845 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002752/0.7163, allocations: 491.4 kB / 0.785 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00322/0.7195, allocations: 2.16 MB / 0.7871 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003983/0.7235, allocations: 3.681 MB / 0.7907 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003928/0.7275, allocations: 2.927 MB / 0.7936 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.197e-05/0.7275, allocations: 12 kB / 0.7936 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01038/0.7379, allocations: 6.768 MB / 0.8002 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.394e-05/0.738, allocations: 53.69 kB / 0.8002 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.577e-05/0.738, allocations: 48 kB / 0.8003 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009985/0.739, allocations: 440.7 kB / 0.8007 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003936/0.743, allocations: 1.065 MB / 0.8017 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005705/0.7487, allocations: 5.311 MB / 0.8069 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006025/0.7548, allocations: 0.4909 MB / 0.8074 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006165/0.7554, allocations: 212 kB / 0.8076 GB, free: 6.57 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.004909/0.7603, allocations: 2.486 MB / 0.81 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001367/0.7617, allocations: 0.5249 MB / 0.8105 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008213/0.7699, allocations: 5.284 MB / 0.8157 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.643e-05/0.7699, allocations: 32 kB / 0.8157 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.77, allocations: 4 kB / 0.8157 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005992/0.776, allocations: 4.559 MB / 0.8202 GB, free: 9.512 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.02119/0.7972, allocations: 12.17 MB / 0.8321 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.7972, allocations: 4 kB / 0.8321 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002499/0.7997, allocations: 0.6204 MB / 0.8327 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000772/0.8005, allocations: 369.3 kB / 0.833 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002141/0.8007, allocations: 83.95 kB / 0.8331 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00511/0.8058, allocations: 5.246 MB / 0.8382 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.8059, allocations: 3.938 kB / 0.8382 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01185/0.8177, allocations: 7.767 MB / 0.8458 GB, free: 14.67 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004147/0.8219, allocations: 1.302 MB / 0.8471 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001153/0.8231, allocations: 67.98 kB / 0.8472 GB, free: 13.27 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003504/0.8266, allocations: 444.8 kB / 0.8476 GB, free: 12.84 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003663/0.827, allocations: 202.2 kB / 0.8478 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000275/0.8272, allocations: 136.3 kB / 0.8479 GB, free: 12.51 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.006199/0.8334, allocations: 4.095 MB / 0.8519 GB, free: 8.438 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8335, allocations: 0 / 0.8519 GB, free: 8.438 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007492/0.841, allocations: 2.003 MB / 0.8539 GB, free: 6.43 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.001353/0.8423, allocations: 495.4 kB / 0.8543 GB, free: 5.953 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00801/0.8504, allocations: 5.398 MB / 0.8596 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.8504, allocations: 4 kB / 0.8596 GB, free: 0.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.2425/1.093, allocations: 2.513 MB / 0.8621 GB, free: 208.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01426/1.107, allocations: 3.166 MB / 0.8652 GB, free: 208.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02021/1.127, allocations: 16.11 MB / 0.8809 GB, free: 202.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003367/1.131, allocations: 4.748 MB / 0.8855 GB, free: 200.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006115/1.137, allocations: 2.073 MB / 0.8876 GB, free: 200.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/1.138, allocations: 458.2 kB / 0.888 GB, free: 200.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.313e-06/1.138, allocations: 0 / 0.888 GB, free: 200.5 MB / 0.67 GB Notification: Performance of Templates: time 0.1405/1.279, allocations: 113.6 MB / 0.999 GB, free: 116.1 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile Environment - environmentSimulation: (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 & ./IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) Environment - environmentSimulation: