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-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_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.0008703/0.0008703, allocations: 99.62 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.0008898/0.0008898, allocations: 177.3 kB / 15.95 MB, free: 216 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.176/1.176, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8331/0.8331, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002944, allocations: 11.98 kB / 0.5068 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1534, allocations: 82.32 MB / 0.5872 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.2927/0.4461, allocations: 46.81 MB / 0.6329 GB, free: 26.99 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01613/0.4623, allocations: 15.53 MB / 0.6481 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002193/0.4645, allocations: 68.12 kB / 0.6481 GB, free: 16.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002064/0.4666, allocations: 0.8152 MB / 0.6489 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005309/0.4719, allocations: 2.149 MB / 0.651 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003666/0.4756, allocations: 1.579 MB / 0.6526 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01074/0.4863, allocations: 11.42 MB / 0.6637 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009645/0.496, allocations: 7.178 MB / 0.6707 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00902/0.5051, allocations: 4.49 MB / 0.6751 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008154/0.5133, allocations: 3.863 MB / 0.6789 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001708/0.515, allocations: 346.8 kB / 0.6792 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005492/0.5205, allocations: 0.8402 MB / 0.68 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002143/0.5227, allocations: 1.459 MB / 0.6815 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.004228/0.5269, allocations: 1.611 MB / 0.683 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01311/0.54, allocations: 10.28 MB / 0.6931 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.5401, allocations: 0 / 0.6931 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.915e-06/0.5401, allocations: 5.125 kB / 0.6931 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004295/0.5405, allocations: 0 / 0.6931 GB, free: 11.11 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.01786/0.5584, allocations: 6.953 MB / 0.6999 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.5584, allocations: 11.75 kB / 0.6999 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004445/0.5629, allocations: 0.8517 MB / 0.7007 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01468/0.5776, allocations: 6.025 MB / 0.7066 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004255/0.5781, allocations: 456.2 kB / 0.707 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001583/0.5797, allocations: 0.6014 MB / 0.7076 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01616/0.5958, allocations: 8.933 MB / 0.7163 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/0.596, allocations: 23.73 kB / 0.7164 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006922/0.5967, allocations: 264 kB / 0.7166 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001603/0.5969, allocations: 180 kB / 0.7168 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0131/0.61, allocations: 7.41 MB / 0.724 GB, free: 15.73 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.05382/0.6638, allocations: 36.21 MB / 0.7594 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006686/0.6705, allocations: 4.331 MB / 0.7636 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/0.6719, allocations: 0.9817 MB / 0.7646 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003782/0.6757, allocations: 2.394 MB / 0.7669 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003093/0.6788, allocations: 475.3 kB / 0.7674 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=317): time 8.636e-06/0.6788, allocations: 0 / 0.7674 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=317): time 0.01195/0.6908, allocations: 7.151 MB / 0.7744 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.6908, allocations: 89.89 kB / 0.7744 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00862/0.6995, allocations: 5.83 MB / 0.7801 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0007347/0.7002, allocations: 89.7 kB / 0.7802 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002907/0.7031, allocations: 3.2 MB / 0.7833 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001551/0.7047, allocations: 1.113 MB / 0.7844 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/0.7049, allocations: 92 kB / 0.7845 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002726/0.7052, allocations: 495.4 kB / 0.785 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003245/0.7085, allocations: 2.163 MB / 0.7871 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004194/0.7127, allocations: 3.677 MB / 0.7907 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004255/0.717, allocations: 2.927 MB / 0.7936 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-05/0.717, allocations: 15.94 kB / 0.7936 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01096/0.728, allocations: 6.768 MB / 0.8002 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.063e-05/0.7281, allocations: 55.89 kB / 0.8002 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-05/0.7281, allocations: 48 kB / 0.8003 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009303/0.7291, allocations: 440.3 kB / 0.8007 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003634/0.7327, allocations: 1.061 MB / 0.8017 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005436/0.7382, allocations: 5.323 MB / 0.8069 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006632/0.7448, allocations: 482.7 kB / 0.8074 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000929/0.7458, allocations: 220 kB / 0.8076 GB, free: 6.656 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.006329/0.7521, allocations: 2.479 MB / 0.81 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001749/0.7539, allocations: 0.5249 MB / 0.8105 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008688/0.7626, allocations: 5.279 MB / 0.8157 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-05/0.7626, allocations: 39.98 kB / 0.8157 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.7626, allocations: 4 kB / 0.8157 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006251/0.7689, allocations: 4.555 MB / 0.8202 GB, free: 9.605 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.02192/0.7908, allocations: 12.18 MB / 0.8321 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.7909, allocations: 4 kB / 0.8321 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002472/0.7933, allocations: 0.6243 MB / 0.8327 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007596/0.7941, allocations: 368 kB / 0.833 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001957/0.7943, allocations: 83.95 kB / 0.8331 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004911/0.7992, allocations: 5.242 MB / 0.8382 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7993, allocations: 3.938 kB / 0.8382 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01127/0.8105, allocations: 7.767 MB / 0.8458 GB, free: 14.75 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004478/0.815, allocations: 1.306 MB / 0.8471 GB, free: 13.42 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001649/0.8167, allocations: 67.98 kB / 0.8472 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00438/0.8211, allocations: 439.6 kB / 0.8476 GB, free: 12.93 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004083/0.8215, allocations: 202.2 kB / 0.8478 GB, free: 12.73 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003062/0.8218, allocations: 139.9 kB / 0.8479 GB, free: 12.59 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00615/0.828, allocations: 4.095 MB / 0.8519 GB, free: 8.52 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.41e-07/0.828, allocations: 0 / 0.8519 GB, free: 8.52 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006991/0.835, allocations: 2.003 MB / 0.8539 GB, free: 6.512 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.001194/0.8362, allocations: 485.9 kB / 0.8543 GB, free: 6.039 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007711/0.8439, allocations: 5.39 MB / 0.8596 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.844, allocations: 8.062 kB / 0.8596 GB, free: 0.5898 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.4494/1.293, allocations: 2.517 MB / 0.8621 GB, free: 203.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01342/1.307, allocations: 3.172 MB / 0.8652 GB, free: 203.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01972/1.327, allocations: 16.11 MB / 0.8809 GB, free: 197.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003476/1.33, allocations: 4.761 MB / 0.8855 GB, free: 195.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006251/1.336, allocations: 2.063 MB / 0.8876 GB, free: 195.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001677/1.338, allocations: 456.9 kB / 0.888 GB, free: 195.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.253e-06/1.338, allocations: 0 / 0.888 GB, free: 195.1 MB / 0.67 GB Notification: Performance of Templates: time 0.1461/1.484, allocations: 113.6 MB / 0.999 GB, free: 109.4 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: