Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.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.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007824/0.0007825, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0008278/0.0008278, allocations: 168.7 kB / 15.95 MB, free: 204 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.299/1.299, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7476/0.7476, allocations: 132.4 MB / 423.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002943, allocations: 9.438 kB / 0.5034 GB, free: 4.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3485, allocations: 81.58 MB / 0.5831 GB, free: 4.242 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.03196/0.3805, allocations: 34.7 MB / 0.617 GB, free: 10.44 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01243/0.393, allocations: 8.955 MB / 0.6257 GB, free: 3.133 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.3947, allocations: 39.56 kB / 0.6257 GB, free: 3.117 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.3961, allocations: 416.9 kB / 0.6261 GB, free: 2.77 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003659/0.3997, allocations: 1.265 MB / 0.6274 GB, free: 1.75 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002659/0.4024, allocations: 0.9582 MB / 0.6283 GB, free: 1.066 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009035/0.4115, allocations: 8.913 MB / 0.637 GB, free: 9.43 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003821/0.4153, allocations: 2.767 MB / 0.6397 GB, free: 6.617 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003716/0.419, allocations: 2.128 MB / 0.6418 GB, free: 4.48 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003354/0.4224, allocations: 2.155 MB / 0.6439 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005492/0.423, allocations: 132 kB / 0.644 GB, free: 2.188 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002465/0.4254, allocations: 0.7838 MB / 0.6448 GB, free: 1.402 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008019/0.4262, allocations: 0.5913 MB / 0.6454 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.4273, allocations: 0.6524 MB / 0.646 GB, free: 152 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004768/0.4321, allocations: 4.012 MB / 0.6499 GB, free: 12.13 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4321, allocations: 0 / 0.6499 GB, free: 12.13 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4321, allocations: 0 / 0.6499 GB, free: 12.13 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002096/0.4323, allocations: 4 kB / 0.6499 GB, free: 12.12 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.006184/0.4385, allocations: 3.02 MB / 0.6529 GB, free: 9.039 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.4386, allocations: 11.97 kB / 0.6529 GB, free: 9.027 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.4398, allocations: 356 kB / 0.6532 GB, free: 8.676 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004216/0.444, allocations: 2.548 MB / 0.6557 GB, free: 6.078 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.4442, allocations: 180.6 kB / 0.6559 GB, free: 5.898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000474/0.4446, allocations: 243.8 kB / 0.6561 GB, free: 5.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005117/0.4498, allocations: 3.216 MB / 0.6593 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.841e-05/0.4498, allocations: 15.92 kB / 0.6593 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002202/0.4501, allocations: 95.95 kB / 0.6594 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.37e-05/0.4501, allocations: 68 kB / 0.6594 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003977/0.4541, allocations: 2.566 MB / 0.6619 GB, free: 15.54 MB / 0.4981 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.01438/0.4685, allocations: 13.75 MB / 0.6754 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/0.471, allocations: 1.626 MB / 0.677 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.4725, allocations: 1.174 MB / 0.6781 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007458/0.4733, allocations: 0.7243 MB / 0.6788 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.4734, allocations: 51.56 kB / 0.6789 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009689/0.4743, allocations: 184 kB / 0.679 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=126): time 3.386e-06/0.4743, allocations: 0 / 0.679 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=126): time 0.008099/0.4824, allocations: 3.448 MB / 0.6824 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.4825, allocations: 145.5 kB / 0.6825 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002369/0.4849, allocations: 1.98 MB / 0.6845 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.485, allocations: 61.7 kB / 0.6845 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009445/0.486, allocations: 1.254 MB / 0.6858 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003693/0.4863, allocations: 445.6 kB / 0.6862 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.073e-05/0.4864, allocations: 36 kB / 0.6862 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.4866, allocations: 377.9 kB / 0.6866 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.4877, allocations: 0.7261 MB / 0.6873 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.4891, allocations: 1.233 MB / 0.6885 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.4904, allocations: 0.951 MB / 0.6894 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.4905, allocations: 7.938 kB / 0.6894 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003574/0.494, allocations: 2.406 MB / 0.6918 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002815/0.4943, allocations: 0.5108 MB / 0.6923 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.4944, allocations: 12 kB / 0.6923 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001959/0.4963, allocations: 0.5174 MB / 0.6928 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.4976, allocations: 347.4 kB / 0.6931 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003003/0.5006, allocations: 3.137 MB / 0.6962 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.5022, allocations: 231.4 kB / 0.6964 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.5023, allocations: 79.97 kB / 0.6965 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.693e-06/0.5023, allocations: 4 kB / 0.6965 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003272/0.5056, allocations: 2.183 MB / 0.6986 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.5057, allocations: 12 kB / 0.6986 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005324/0.5062, allocations: 242.1 kB / 0.6989 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.5075, allocations: 371.5 kB / 0.6992 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003799/0.5113, allocations: 4.171 MB / 0.7033 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.5128, allocations: 223.5 kB / 0.7035 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.513, allocations: 83.97 kB / 0.7036 GB, free: 2.648 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,yTop.u,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.001366/0.5143, allocations: 1.012 MB / 0.7046 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/0.5146, allocations: 205.5 kB / 0.7048 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003309/0.5179, allocations: 2.064 MB / 0.7068 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.518, allocations: 19.98 kB / 0.7068 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.518, allocations: 4 kB / 0.7068 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00238/0.5204, allocations: 1.667 MB / 0.7084 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006802/0.5272, allocations: 4.69 MB / 0.713 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.5272, allocations: 4 kB / 0.713 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008616/0.5281, allocations: 203.8 kB / 0.7132 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/0.5296, allocations: 453.4 kB / 0.7136 GB, free: 8.207 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.971e-05/0.5297, allocations: 35.94 kB / 0.7137 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002703/0.5324, allocations: 3.057 MB / 0.7167 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.5324, allocations: 4.031 kB / 0.7167 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003926/0.5364, allocations: 2.987 MB / 0.7196 GB, free: 1.934 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008275/0.5372, allocations: 0.5139 MB / 0.7201 GB, free: 1.398 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/0.5374, allocations: 31.95 kB / 0.7201 GB, free: 1.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.5387, allocations: 203.1 kB / 0.7203 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/0.5389, allocations: 97.16 kB / 0.7204 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.5391, allocations: 59.95 kB / 0.7205 GB, free: 1.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001751/0.5408, allocations: 1.354 MB / 0.7218 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5408, allocations: 0 / 0.7218 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003287/0.5441, allocations: 1.48 MB / 0.7232 GB, free: 14.16 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (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) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,yTop.u,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.00067/0.5448, allocations: 370.1 kB / 0.7236 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004929/0.5497, allocations: 3.353 MB / 0.7269 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.5498, allocations: 0 / 0.7269 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001385/0.5511, allocations: 1.021 MB / 0.7278 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004445/0.5556, allocations: 1.155 MB / 0.729 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007852/0.5635, allocations: 6.328 MB / 0.7352 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/0.5651, allocations: 2.168 MB / 0.7373 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002676/0.5678, allocations: 0.9243 MB / 0.7382 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/0.5682, allocations: 171.4 kB / 0.7383 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/0.5682, allocations: 11.81 kB / 0.7384 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of Templates: time 0.07046/0.6387, allocations: 44.77 MB / 0.7821 GB, free: 2.312 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)