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.001097/0.001097, allocations: 107.1 kB / 15.99 MB, free: 5.91 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.001123/0.001123, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.286/1.286, allocations: 222.9 MB / 240.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7549/0.7549, allocations: 132.2 MB / 422.9 MB, free: 6.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.00114, allocations: 63.91 kB / 0.5019 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.4308, allocations: 80.19 MB / 0.5802 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04744/0.4783, allocations: 55.51 MB / 0.6344 GB, free: 6.82 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02564/0.504, allocations: 17.79 MB / 0.6518 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003719/0.5078, allocations: 63.62 kB / 0.6518 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003225/0.511, allocations: 0.7654 MB / 0.6526 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008588/0.5197, allocations: 2.317 MB / 0.6549 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004312/0.524, allocations: 1.39 MB / 0.6562 GB, free: 448 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02319/0.5472, allocations: 21.32 MB / 0.677 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01459/0.5619, allocations: 10.6 MB / 0.6874 GB, free: 340 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01762/0.5795, allocations: 7.234 MB / 0.6945 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01153/0.5911, allocations: 6.561 MB / 0.7009 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.003422/0.5946, allocations: 0.9258 MB / 0.7018 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0077/0.6023, allocations: 1.701 MB / 0.7034 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004778/0.6071, allocations: 2.318 MB / 0.7057 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0113/0.6184, allocations: 4.692 MB / 0.7103 GB, free: 8.859 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01303/0.6315, allocations: 10.75 MB / 0.7208 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.6316, allocations: 7.938 kB / 0.7208 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.555e-06/0.6316, allocations: 0 / 0.7208 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0005173/0.6321, allocations: 0 / 0.7208 GB, free: 14.08 MB / 0.5606 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.0239/0.656, allocations: 8.501 MB / 0.7291 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.6561, allocations: 12.03 kB / 0.7291 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004849/0.6609, allocations: 0.8548 MB / 0.7299 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01448/0.6754, allocations: 6.625 MB / 0.7364 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004996/0.676, allocations: 460.2 kB / 0.7368 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002716/0.6787, allocations: 0.5975 MB / 0.7374 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02428/0.703, allocations: 9.021 MB / 0.7462 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003988/0.7035, allocations: 23.77 kB / 0.7463 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002342/0.7058, allocations: 256 kB / 0.7465 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002362/0.7061, allocations: 183.9 kB / 0.7467 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6031/1.309, allocations: 7.447 MB / 0.7539 GB, free: 146.9 MB / 0.5763 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.0459/1.355, allocations: 35.9 MB / 0.789 GB, free: 118.9 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005011/1.36, allocations: 4.269 MB / 0.7932 GB, free: 116.6 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003505/1.364, allocations: 3.319 MB / 0.7964 GB, free: 113.4 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/1.365, allocations: 0.9521 MB / 0.7973 GB, free: 112.3 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003039/1.368, allocations: 2.388 MB / 0.7997 GB, free: 109.9 MB / 0.5763 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002967/1.371, allocations: 406 kB / 0.8001 GB, free: 109.5 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=317): time 9.598e-06/1.371, allocations: 0 / 0.8001 GB, free: 109.5 MB / 0.5763 GB Notification: Performance of matching and sorting (n=317): time 0.01088/1.382, allocations: 7.134 MB / 0.807 GB, free: 102.3 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/1.382, allocations: 92.78 kB / 0.8071 GB, free: 102.2 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006906/1.389, allocations: 5.459 MB / 0.8125 GB, free: 96.76 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0007635/1.389, allocations: 85.7 kB / 0.8125 GB, free: 96.67 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002309/1.392, allocations: 3.195 MB / 0.8157 GB, free: 93.46 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001418/1.393, allocations: 1.117 MB / 0.8167 GB, free: 92.35 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001174/1.394, allocations: 0.8581 MB / 0.8176 GB, free: 91.48 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.136e-05/1.394, allocations: 305.1 kB / 0.8179 GB, free: 91.18 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002641/1.397, allocations: 2.163 MB / 0.82 GB, free: 89.01 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003183/1.4, allocations: 3.697 MB / 0.8236 GB, free: 84.65 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006328/1.407, allocations: 6.321 MB / 0.8298 GB, free: 77.63 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.451e-05/1.407, allocations: 16 kB / 0.8298 GB, free: 77.61 MB / 0.5763 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009717/1.416, allocations: 6.78 MB / 0.8364 GB, free: 70.78 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.093e-05/1.417, allocations: 53.7 kB / 0.8365 GB, free: 70.72 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.205e-05/1.417, allocations: 48 kB / 0.8365 GB, free: 70.68 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009018/1.417, allocations: 437.7 kB / 0.8369 GB, free: 70.24 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003468/1.421, allocations: 1.002 MB / 0.8379 GB, free: 69.24 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004512/1.425, allocations: 5.7 MB / 0.8435 GB, free: 63.28 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005723/1.431, allocations: 474.7 kB / 0.8439 GB, free: 62.81 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007024/1.432, allocations: 216 kB / 0.8441 GB, free: 62.6 MB / 0.5763 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.004824/1.437, allocations: 2.485 MB / 0.8466 GB, free: 60.11 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00185/1.439, allocations: 0.5249 MB / 0.8471 GB, free: 59.57 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007862/1.447, allocations: 5.278 MB / 0.8522 GB, free: 54.25 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/1.447, allocations: 31.94 kB / 0.8522 GB, free: 54.22 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.447, allocations: 8 kB / 0.8523 GB, free: 54.21 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004994/1.452, allocations: 4.526 MB / 0.8567 GB, free: 49.58 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01927/1.471, allocations: 11.95 MB / 0.8683 GB, free: 37.53 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/1.471, allocations: 8.062 kB / 0.8684 GB, free: 37.52 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002496/1.473, allocations: 0.6397 MB / 0.869 GB, free: 36.88 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007535/1.474, allocations: 374.5 kB / 0.8693 GB, free: 36.51 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002078/1.474, allocations: 83.95 kB / 0.8694 GB, free: 36.43 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004044/1.478, allocations: 5.622 MB / 0.8749 GB, free: 30.53 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/1.479, allocations: 8.047 kB / 0.8749 GB, free: 30.52 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009389/1.488, allocations: 7.753 MB / 0.8825 GB, free: 22.68 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003278/1.491, allocations: 1.143 MB / 0.8836 GB, free: 21.51 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001277/1.493, allocations: 63.98 kB / 0.8837 GB, free: 21.45 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003844/1.496, allocations: 458.1 kB / 0.8841 GB, free: 21 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003852/1.497, allocations: 202.1 kB / 0.8843 GB, free: 20.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002579/1.497, allocations: 139.9 kB / 0.8844 GB, free: 20.66 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004735/1.502, allocations: 3.811 MB / 0.8881 GB, free: 16.88 MB / 0.5763 GB Notification: Performance of sort global known variables: time 4.01e-07/1.502, allocations: 3.938 kB / 0.8882 GB, free: 16.87 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.006814/1.509, allocations: 1.994 MB / 0.8901 GB, free: 14.89 MB / 0.5763 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.001339/1.51, allocations: 477.7 kB / 0.8906 GB, free: 14.45 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.02011/1.53, allocations: 11.63 MB / 0.9019 GB, free: 2.801 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.752e-05/1.53, allocations: 4 kB / 0.9019 GB, free: 2.797 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003681/1.534, allocations: 2.542 MB / 0.9044 GB, free: 232 kB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01677/1.551, allocations: 3.39 MB / 0.9077 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03162/1.582, allocations: 16.66 MB / 0.924 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007339/1.59, allocations: 4.541 MB / 0.9284 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002875/1.593, allocations: 491.3 kB / 0.9289 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of SimCode: time 3.467e-06/1.593, allocations: 0 / 0.9289 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of Templates: time 0.57/2.163, allocations: 186.1 MB / 1.111 GB, free: 119.9 MB / 0.67 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)