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: translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00148/0.001481, allocations: 107.5 kB / 16.41 MB, free: 6.496 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.001722/0.001722, allocations: 187 kB / 17.34 MB, free: 5.766 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8066/0.8066, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 66.7 kB / 0.582 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1941, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06521/0.2593, allocations: 55.99 MB / 0.715 GB, free: 2.055 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02873/0.2881, allocations: 17.91 MB / 0.7325 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003885/0.2921, allocations: 75.56 kB / 0.7326 GB, free: 12 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003643/0.2957, allocations: 0.9042 MB / 0.7334 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009473/0.3053, allocations: 2.499 MB / 0.7359 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004801/0.3101, allocations: 1.525 MB / 0.7374 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.4871/0.7973, allocations: 21.22 MB / 0.7581 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01764/0.815, allocations: 10.7 MB / 0.7686 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01897/0.834, allocations: 7.179 MB / 0.7756 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0136/0.8476, allocations: 6.367 MB / 0.7818 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003996/0.8517, allocations: 0.9391 MB / 0.7827 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009439/0.8611, allocations: 1.699 MB / 0.7844 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005319/0.8665, allocations: 2.348 MB / 0.7867 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01306/0.8796, allocations: 4.707 MB / 0.7912 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01945/0.8991, allocations: 13.19 MB / 0.8041 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.8991, allocations: 0 / 0.8041 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.013e-06/0.8991, allocations: 0 / 0.8041 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0005289/0.8997, allocations: 0 / 0.8041 GB, free: 13.02 MB / 0.5919 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.0262/0.9259, allocations: 8.519 MB / 0.8124 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.926, allocations: 8.031 kB / 0.8125 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005073/0.931, allocations: 0.8625 MB / 0.8133 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01636/0.9474, allocations: 6.699 MB / 0.8198 GB, free: 12 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000527/0.948, allocations: 464.2 kB / 0.8203 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002663/0.9507, allocations: 0.6011 MB / 0.8209 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02478/0.9755, allocations: 9.025 MB / 0.8297 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000349/0.9759, allocations: 14.38 kB / 0.8297 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002429/0.9783, allocations: 259.9 kB / 0.8299 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002664/0.9786, allocations: 187.5 kB / 0.8301 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0187/0.9973, allocations: 7.449 MB / 0.8374 GB, free: 13.83 MB / 0.6231 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.06303/1.06, allocations: 35.98 MB / 0.8725 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008587/1.069, allocations: 4.284 MB / 0.8767 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005896/1.075, allocations: 3.293 MB / 0.8799 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001419/1.076, allocations: 0.9531 MB / 0.8809 GB, free: 15.74 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005228/1.082, allocations: 2.393 MB / 0.8832 GB, free: 13.31 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003376/1.085, allocations: 368 kB / 0.8836 GB, free: 12.95 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 1.978e-05/1.085, allocations: 0 / 0.8836 GB, free: 12.95 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.01664/1.102, allocations: 7.132 MB / 0.8905 GB, free: 5.746 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/1.102, allocations: 85.91 kB / 0.8906 GB, free: 5.648 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01238/1.114, allocations: 5.668 MB / 0.8961 GB, free: 4 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001048/1.115, allocations: 93.64 kB / 0.8962 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.004155/1.12, allocations: 3.191 MB / 0.8993 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.002025/1.122, allocations: 1.12 MB / 0.9004 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002828/1.124, allocations: 0.8542 MB / 0.9013 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/1.125, allocations: 305.1 kB / 0.9016 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003975/1.129, allocations: 2.167 MB / 0.9037 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00521/1.134, allocations: 3.701 MB / 0.9073 GB, free: 3.863 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009861/1.144, allocations: 6.321 MB / 0.9135 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-05/1.144, allocations: 12 kB / 0.9135 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01591/1.16, allocations: 6.773 MB / 0.9201 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.865e-05/1.16, allocations: 54.7 kB / 0.9201 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.255e-05/1.16, allocations: 52 kB / 0.9202 GB, free: 6.387 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/1.161, allocations: 431.9 kB / 0.9206 GB, free: 5.961 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004131/1.165, allocations: 1.014 MB / 0.9216 GB, free: 5.016 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006281/1.171, allocations: 5.697 MB / 0.9272 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006717/1.178, allocations: 287.5 kB / 0.9274 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00141/1.18, allocations: 216 kB / 0.9276 GB, free: 14.61 MB / 0.7169 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.007719/1.187, allocations: 2.483 MB / 0.9301 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002472/1.19, allocations: 0.5313 MB / 0.9306 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/1.201, allocations: 5.266 MB / 0.9357 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.43e-05/1.201, allocations: 28 kB / 0.9358 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.065e-05/1.201, allocations: 8 kB / 0.9358 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007031/1.208, allocations: 4.524 MB / 0.9402 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02608/1.235, allocations: 11.99 MB / 0.9519 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/1.235, allocations: 0 / 0.9519 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002902/1.238, allocations: 0.6465 MB / 0.9525 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009409/1.239, allocations: 371.9 kB / 0.9529 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003999/1.239, allocations: 83.95 kB / 0.953 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005718/1.245, allocations: 5.611 MB / 0.9584 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.245, allocations: 0 / 0.9584 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01407/1.259, allocations: 7.77 MB / 0.966 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003493/1.262, allocations: 1.154 MB / 0.9671 GB, free: 5.734 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001821/1.264, allocations: 67.92 kB / 0.9672 GB, free: 5.668 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00421/1.268, allocations: 207.7 kB / 0.9674 GB, free: 5.469 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006035/1.269, allocations: 196.9 kB / 0.9676 GB, free: 5.277 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005346/1.27, allocations: 139.9 kB / 0.9677 GB, free: 5.141 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.009251/1.279, allocations: 3.959 MB / 0.9716 GB, free: 1.203 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.61e-07/1.279, allocations: 0 / 0.9716 GB, free: 1.203 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.008942/1.288, allocations: 2.007 MB / 0.9736 GB, free: 15.19 MB / 0.7637 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.001901/1.29, allocations: 500 kB / 0.974 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01065/1.3, allocations: 5.442 MB / 0.9793 GB, free: 9.414 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/1.3, allocations: 4 kB / 0.9794 GB, free: 9.41 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004677/1.305, allocations: 2.54 MB / 0.9818 GB, free: 6.898 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01995/1.325, allocations: 3.379 MB / 0.9851 GB, free: 3.641 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03137/1.357, allocations: 13.94 MB / 0.9987 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006954/1.364, allocations: 4.551 MB / 1.003 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002544/1.366, allocations: 493.6 kB / 1.004 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of SimCode: time 5.761e-06/1.366, allocations: 4 kB / 1.004 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of Templates: time 0.6309/1.997, allocations: 187.3 MB / 1.187 GB, free: 193.2 MB / 0.8262 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (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 & ./IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)