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.001133/0.001133, allocations: 103 kB / 16.41 MB, free: 6.473 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.001099/0.0011, allocations: 189.6 kB / 17.34 MB, free: 5.754 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7992/0.7992, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.34 kB / 0.582 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1805, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05479/0.2353, allocations: 55.98 MB / 0.715 GB, free: 2.094 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02603/0.2614, allocations: 17.92 MB / 0.7325 GB, free: 116 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003695/0.2652, allocations: 79.56 kB / 0.7326 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003641/0.2688, allocations: 0.9042 MB / 0.7335 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008818/0.2777, allocations: 2.499 MB / 0.7359 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00462/0.2824, allocations: 1.528 MB / 0.7374 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.46/0.7424, allocations: 21.21 MB / 0.7581 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0173/0.7597, allocations: 10.71 MB / 0.7686 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0182/0.778, allocations: 7.249 MB / 0.7756 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01753/0.7956, allocations: 6.369 MB / 0.7819 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.004319/0.7999, allocations: 0.9377 MB / 0.7828 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009385/0.8093, allocations: 1.697 MB / 0.7844 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005555/0.8149, allocations: 2.339 MB / 0.7867 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01336/0.8283, allocations: 4.712 MB / 0.7913 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02135/0.8497, allocations: 13.2 MB / 0.8042 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.8498, allocations: 0 / 0.8042 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8498, allocations: 0 / 0.8042 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0006292/0.8504, allocations: 0 / 0.8042 GB, free: 13.03 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.02988/0.8803, allocations: 8.519 MB / 0.8125 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.8804, allocations: 8.031 kB / 0.8125 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005774/0.8862, allocations: 0.8625 MB / 0.8134 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01794/0.9041, allocations: 6.699 MB / 0.8199 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005357/0.9047, allocations: 462.9 kB / 0.8204 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002845/0.9076, allocations: 0.6008 MB / 0.8209 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02631/0.9339, allocations: 9.018 MB / 0.8297 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003406/0.9343, allocations: 22.48 kB / 0.8298 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002526/0.9368, allocations: 263.4 kB / 0.83 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002499/0.9371, allocations: 183.1 kB / 0.8302 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0184/0.9555, allocations: 7.441 MB / 0.8375 GB, free: 13.81 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.06414/1.02, allocations: 35.99 MB / 0.8726 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006872/1.027, allocations: 4.289 MB / 0.8768 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00495/1.032, allocations: 3.3 MB / 0.88 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001408/1.033, allocations: 0.9538 MB / 0.8809 GB, free: 15.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004406/1.037, allocations: 2.386 MB / 0.8833 GB, free: 13.28 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003827/1.041, allocations: 370.1 kB / 0.8836 GB, free: 12.91 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 1.787e-05/1.041, allocations: 4 kB / 0.8836 GB, free: 12.91 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.01478/1.056, allocations: 7.134 MB / 0.8906 GB, free: 5.703 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/1.056, allocations: 89.84 kB / 0.8907 GB, free: 5.602 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009401/1.066, allocations: 5.666 MB / 0.8962 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0008494/1.067, allocations: 89.36 kB / 0.8963 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.003173/1.07, allocations: 3.19 MB / 0.8994 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001777/1.072, allocations: 1.125 MB / 0.9005 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001423/1.073, allocations: 0.8542 MB / 0.9014 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.813e-05/1.073, allocations: 306.7 kB / 0.9016 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003356/1.076, allocations: 2.163 MB / 0.9038 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004445/1.081, allocations: 3.695 MB / 0.9074 GB, free: 3.824 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008713/1.09, allocations: 6.319 MB / 0.9135 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-05/1.09, allocations: 12 kB / 0.9135 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01419/1.104, allocations: 6.773 MB / 0.9202 GB, free: 6.457 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.271e-05/1.104, allocations: 53.7 kB / 0.9202 GB, free: 6.398 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.867e-05/1.104, allocations: 52.86 kB / 0.9203 GB, free: 6.348 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/1.105, allocations: 437.3 kB / 0.9207 GB, free: 5.914 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003994/1.109, allocations: 1.011 MB / 0.9217 GB, free: 4.973 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006343/1.116, allocations: 5.701 MB / 0.9272 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006043/1.122, allocations: 283.5 kB / 0.9275 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001353/1.123, allocations: 220 kB / 0.9277 GB, free: 14.57 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.006083/1.129, allocations: 2.483 MB / 0.9301 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002392/1.132, allocations: 0.5287 MB / 0.9307 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/1.144, allocations: 5.258 MB / 0.9358 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.678e-05/1.144, allocations: 36 kB / 0.9358 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.286e-05/1.144, allocations: 4 kB / 0.9358 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00833/1.152, allocations: 4.525 MB / 0.9402 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03305/1.185, allocations: 11.99 MB / 0.952 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/1.185, allocations: 0 / 0.952 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003306/1.188, allocations: 0.6427 MB / 0.9526 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/1.189, allocations: 373.3 kB / 0.9529 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006624/1.19, allocations: 83.95 kB / 0.953 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006572/1.197, allocations: 5.622 MB / 0.9585 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.197, allocations: 5.859 kB / 0.9585 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01668/1.213, allocations: 7.767 MB / 0.9661 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005158/1.219, allocations: 1.154 MB / 0.9672 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002302/1.221, allocations: 67.92 kB / 0.9673 GB, free: 5.621 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005049/1.226, allocations: 195.5 kB / 0.9675 GB, free: 5.434 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009442/1.227, allocations: 200.8 kB / 0.9677 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008682/1.228, allocations: 143.9 kB / 0.9678 GB, free: 5.098 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00988/1.238, allocations: 3.959 MB / 0.9717 GB, free: 1.16 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.41e-07/1.238, allocations: 0 / 0.9717 GB, free: 1.16 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.01025/1.248, allocations: 2.007 MB / 0.9736 GB, free: 15.14 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.002114/1.25, allocations: 0.4954 MB / 0.9741 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01169/1.262, allocations: 5.434 MB / 0.9794 GB, free: 9.379 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/1.262, allocations: 4.062 kB / 0.9794 GB, free: 9.375 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.005272/1.267, allocations: 2.54 MB / 0.9819 GB, free: 6.863 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02103/1.288, allocations: 3.397 MB / 0.9852 GB, free: 3.598 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03536/1.324, allocations: 13.93 MB / 0.9988 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008041/1.332, allocations: 4.551 MB / 1.003 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002663/1.335, allocations: 492.2 kB / 1.004 GB, free: 0.5938 MB / 0.7794 GB Notification: Performance of SimCode: time 1.132e-06/1.335, allocations: 4.75 kB / 1.004 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of Templates: time 0.6038/1.938, allocations: 188.9 MB / 1.188 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)