Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001146/0.001146, allocations: 99.19 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009577/0.0009578, allocations: 186.5 kB / 16.92 MB, free: 6.75 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.323/1.323, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9691/0.9691, allocations: 135.3 MB / 427.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003493, allocations: 8 kB / 0.5082 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1603, allocations: 82.31 MB / 0.5886 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.2961/0.4565, allocations: 36.66 MB / 0.6244 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01083/0.4674, allocations: 9.469 MB / 0.6337 GB, free: 27.15 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002064/0.4695, allocations: 38.09 kB / 0.6337 GB, free: 27.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.4708, allocations: 487.4 kB / 0.6342 GB, free: 26.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004009/0.4748, allocations: 1.454 MB / 0.6356 GB, free: 26 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.4777, allocations: 1.112 MB / 0.6367 GB, free: 25.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008315/0.486, allocations: 10.47 MB / 0.6469 GB, free: 21.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003404/0.4895, allocations: 3.071 MB / 0.6499 GB, free: 20.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004031/0.4935, allocations: 2.14 MB / 0.652 GB, free: 19.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004/0.4976, allocations: 2.278 MB / 0.6542 GB, free: 18.53 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005923/0.4982, allocations: 133.7 kB / 0.6543 GB, free: 18.53 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.5012, allocations: 0.9399 MB / 0.6552 GB, free: 18.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007286/0.502, allocations: 0.6177 MB / 0.6558 GB, free: 17.92 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002461/0.5044, allocations: 1.564 MB / 0.6574 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006017/0.5105, allocations: 4.036 MB / 0.6613 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5105, allocations: 0 / 0.6613 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.695e-06/0.5105, allocations: 5.031 kB / 0.6613 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001704/0.5107, allocations: 0 / 0.6613 GB, free: 16.16 MB / 0.4981 GB 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.008391/0.5191, allocations: 2.997 MB / 0.6642 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.5191, allocations: 9.344 kB / 0.6643 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0023/0.5215, allocations: 358.6 kB / 0.6646 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006334/0.5278, allocations: 2.632 MB / 0.6672 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001916/0.528, allocations: 180.8 kB / 0.6673 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007246/0.5288, allocations: 235.8 kB / 0.6676 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006942/0.5357, allocations: 3.236 MB / 0.6707 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.419e-05/0.5358, allocations: 8.25 kB / 0.6707 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000305/0.5361, allocations: 95.06 kB / 0.6708 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.83e-05/0.5362, allocations: 70.94 kB / 0.6709 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005484/0.5417, allocations: 2.581 MB / 0.6734 GB, free: 10.45 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.018/0.5598, allocations: 13.77 MB / 0.6869 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002646/0.5624, allocations: 1.629 MB / 0.6884 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/0.5642, allocations: 1.161 MB / 0.6896 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008489/0.5651, allocations: 0.7255 MB / 0.6903 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.396e-05/0.5652, allocations: 50.72 kB / 0.6903 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001955/0.5671, allocations: 185.4 kB / 0.6905 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=126): time 4.979e-06/0.5671, allocations: 0 / 0.6905 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=126): time 0.01003/0.5772, allocations: 3.488 MB / 0.6939 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.4e-05/0.5773, allocations: 142.2 kB / 0.6941 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003484/0.5808, allocations: 1.999 MB / 0.696 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004301/0.5813, allocations: 55.36 kB / 0.6961 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0014/0.5827, allocations: 1.253 MB / 0.6973 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007447/0.5834, allocations: 442.4 kB / 0.6977 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.5837, allocations: 152.3 kB / 0.6979 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.5838, allocations: 310.3 kB / 0.6981 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.5851, allocations: 0.7337 MB / 0.6989 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.5866, allocations: 1.251 MB / 0.7001 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00262/0.5892, allocations: 2.043 MB / 0.7021 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.5892, allocations: 3.25 kB / 0.7021 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004309/0.5935, allocations: 2.427 MB / 0.7045 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003779/0.594, allocations: 0.5014 MB / 0.7049 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.594, allocations: 12 kB / 0.705 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002199/0.5962, allocations: 0.5266 MB / 0.7055 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.5976, allocations: 355.4 kB / 0.7058 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003277/0.6009, allocations: 3.14 MB / 0.7089 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002569/0.6035, allocations: 239.5 kB / 0.7091 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002534/0.6038, allocations: 79.97 kB / 0.7092 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.6038, allocations: 4 kB / 0.7092 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003724/0.6075, allocations: 2.191 MB / 0.7113 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.6076, allocations: 15.98 kB / 0.7113 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006139/0.6082, allocations: 250.4 kB / 0.7116 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.6095, allocations: 363.4 kB / 0.7119 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00414/0.6136, allocations: 4.176 MB / 0.716 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002619/0.6163, allocations: 219.5 kB / 0.7162 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/0.6165, allocations: 80.09 kB / 0.7163 GB, free: 6.965 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 (onOffHea.y,$PRE.onOffHea.y,yTop.u,and2.y,onOffMid.y,$PRE.onOffMid.y,onOffBot.y,$PRE.onOffBot.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 (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): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,22)} Notification: Performance of prepare postOptimizeDAE: time 0.002244/0.6188, allocations: 1.019 MB / 0.7173 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006795/0.6195, allocations: 205.5 kB / 0.7175 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003689/0.6231, allocations: 2.065 MB / 0.7195 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.6232, allocations: 20.06 kB / 0.7195 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.6232, allocations: 7.938 kB / 0.7195 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002466/0.6257, allocations: 1.667 MB / 0.7211 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009674/0.6354, allocations: 4.705 MB / 0.7257 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.6354, allocations: 4 kB / 0.7257 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008861/0.6363, allocations: 195.8 kB / 0.7259 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001731/0.6381, allocations: 451.1 kB / 0.7264 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/0.6382, allocations: 47.84 kB / 0.7264 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003032/0.6412, allocations: 3.055 MB / 0.7294 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6413, allocations: 0 / 0.7294 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005013/0.6463, allocations: 3.011 MB / 0.7323 GB, free: 6.195 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/0.6481, allocations: 0.5139 MB / 0.7328 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004419/0.6486, allocations: 31.98 kB / 0.7329 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001794/0.6504, allocations: 203.5 kB / 0.7331 GB, free: 5.434 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.6507, allocations: 109.1 kB / 0.7332 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/0.6508, allocations: 59.95 kB / 0.7332 GB, free: 5.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002391/0.6532, allocations: 1.374 MB / 0.7346 GB, free: 3.875 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6532, allocations: 0 / 0.7346 GB, free: 3.875 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006186/0.6594, allocations: 1.472 MB / 0.736 GB, free: 2.398 MB / 0.545 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 (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): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001174/0.6606, allocations: 376.5 kB / 0.7364 GB, free: 2.031 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006227/0.6669, allocations: 3.381 MB / 0.7397 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.6669, allocations: 0 / 0.7397 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001671/0.6686, allocations: 1.021 MB / 0.7407 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007063/0.6757, allocations: 1.158 MB / 0.7418 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.6858, allocations: 6.526 MB / 0.7482 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00176/0.6876, allocations: 2.128 MB / 0.7502 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008086/0.6884, allocations: 187.4 kB / 0.7504 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of SimCode: time 8.42e-07/0.6884, allocations: 0 / 0.7504 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of Templates: time 0.08469/0.7731, allocations: 70.13 MB / 0.8189 GB, free: 13.57 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)