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.001584/0.001584, allocations: 112.1 kB / 16.42 MB, free: 6.445 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.00162/0.00162, allocations: 186.6 kB / 17.35 MB, free: 5.742 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.77/0.77, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 64.52 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1372, allocations: 80.22 MB / 0.6603 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.03839/0.1756, allocations: 37.75 MB / 0.6972 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01343/0.1891, allocations: 9.499 MB / 0.7065 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.1908, allocations: 47.69 kB / 0.7065 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.1925, allocations: 0.5937 MB / 0.7071 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004149/0.1967, allocations: 1.655 MB / 0.7087 GB, free: 8.508 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003117/0.1998, allocations: 1.264 MB / 0.71 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00843/0.2083, allocations: 8.1 MB / 0.7179 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004701/0.213, allocations: 3.898 MB / 0.7217 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005197/0.2182, allocations: 2.883 MB / 0.7245 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003659/0.2219, allocations: 2.494 MB / 0.7269 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0009309/0.2228, allocations: 356 kB / 0.7273 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003075/0.2259, allocations: 1.201 MB / 0.7284 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001312/0.2272, allocations: 0.8918 MB / 0.7293 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002966/0.2302, allocations: 1.851 MB / 0.7311 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006128/0.2363, allocations: 5.235 MB / 0.7362 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2364, allocations: 4 kB / 0.7362 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2364, allocations: 0 / 0.7362 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001426/0.2365, allocations: 0 / 0.7362 GB, free: 12.23 MB / 0.5762 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.007749/0.2443, allocations: 3.639 MB / 0.7398 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.2443, allocations: 8.031 kB / 0.7398 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.2456, allocations: 360.4 kB / 0.7401 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004717/0.2503, allocations: 2.657 MB / 0.7427 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.2505, allocations: 180.6 kB / 0.7429 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003633/0.2508, allocations: 235.9 kB / 0.7431 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004917/0.2558, allocations: 3.231 MB / 0.7463 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.752e-05/0.2558, allocations: 4 kB / 0.7463 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002355/0.2561, allocations: 115.9 kB / 0.7464 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.3e-05/0.2561, allocations: 67.92 kB / 0.7465 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3043/0.5604, allocations: 2.579 MB / 0.749 GB, free: 81.68 MB / 0.5762 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.01625/0.5767, allocations: 13.79 MB / 0.7625 GB, free: 72.28 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002974/0.5797, allocations: 1.611 MB / 0.764 GB, free: 71.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.5813, allocations: 1.152 MB / 0.7652 GB, free: 71.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006621/0.582, allocations: 0.7111 MB / 0.7658 GB, free: 70.54 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.582, allocations: 59.48 kB / 0.7659 GB, free: 70.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009041/0.583, allocations: 146.5 kB / 0.766 GB, free: 70.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=126): time 3.717e-06/0.583, allocations: 0 / 0.766 GB, free: 70.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=126): time 0.008971/0.5919, allocations: 3.448 MB / 0.7694 GB, free: 69.31 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.592, allocations: 147.3 kB / 0.7696 GB, free: 69.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002665/0.5947, allocations: 2.07 MB / 0.7716 GB, free: 68.21 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001588/0.5949, allocations: 54.73 kB / 0.7716 GB, free: 68.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008107/0.5957, allocations: 1.255 MB / 0.7728 GB, free: 67.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003209/0.596, allocations: 449.6 kB / 0.7733 GB, free: 66.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004366/0.5964, allocations: 349.5 kB / 0.7736 GB, free: 66.51 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.537e-05/0.5965, allocations: 307.1 kB / 0.7739 GB, free: 66.21 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.5975, allocations: 0.7468 MB / 0.7746 GB, free: 65.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.5988, allocations: 1.249 MB / 0.7759 GB, free: 64.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002333/0.6011, allocations: 2.04 MB / 0.7778 GB, free: 63.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.6012, allocations: 4.562 kB / 0.7779 GB, free: 63.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003631/0.6048, allocations: 2.43 MB / 0.7802 GB, free: 62.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.6048, allocations: 15.39 kB / 0.7802 GB, free: 62.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.6049, allocations: 13.69 kB / 0.7803 GB, free: 62.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002139/0.607, allocations: 0.5119 MB / 0.7808 GB, free: 61.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.6082, allocations: 353.9 kB / 0.7811 GB, free: 61.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002615/0.6109, allocations: 3.345 MB / 0.7844 GB, free: 58.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.6126, allocations: 121.5 kB / 0.7845 GB, free: 58.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.6127, allocations: 80.2 kB / 0.7845 GB, free: 58.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002084/0.6148, allocations: 1.57 MB / 0.7861 GB, free: 58 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001084/0.6159, allocations: 1.243 MB / 0.7873 GB, free: 56.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002034/0.6179, allocations: 2.027 MB / 0.7893 GB, free: 55.56 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.825e-06/0.618, allocations: 3.938 kB / 0.7893 GB, free: 55.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213) (initialization_lambda0): time 0.003641/0.6216, allocations: 2.4 MB / 0.7916 GB, free: 54.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.6216, allocations: 11.06 kB / 0.7916 GB, free: 54.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.6217, allocations: 12.75 kB / 0.7916 GB, free: 54.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005513/0.6222, allocations: 244.6 kB / 0.7919 GB, free: 54.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.6234, allocations: 372.9 kB / 0.7922 GB, free: 54.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00314/0.6266, allocations: 4.566 MB / 0.7967 GB, free: 49.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.6282, allocations: 123.8 kB / 0.7968 GB, free: 49.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.6283, allocations: 79.97 kB / 0.7969 GB, free: 49.38 MB / 0.5762 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.0004172/0.6287, allocations: 296.9 kB / 0.7972 GB, free: 49.08 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003093/0.629, allocations: 205.5 kB / 0.7974 GB, free: 48.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002821/0.6318, allocations: 2.072 MB / 0.7994 GB, free: 46.81 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00192/0.6338, allocations: 1.667 MB / 0.801 GB, free: 45.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.6338, allocations: 4 kB / 0.801 GB, free: 45.12 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008645/0.6347, allocations: 490.4 kB / 0.8015 GB, free: 44.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/0.6349, allocations: 28 kB / 0.8015 GB, free: 44.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.6361, allocations: 94.33 kB / 0.8016 GB, free: 44.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.6363, allocations: 101.2 kB / 0.8017 GB, free: 44.4 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003233/0.6395, allocations: 2.121 MB / 0.8038 GB, free: 42.29 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002973/0.6425, allocations: 2.894 MB / 0.8066 GB, free: 39.38 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007901/0.6433, allocations: 0.7987 MB / 0.8074 GB, free: 38.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001543/0.6449, allocations: 1.428 MB / 0.8088 GB, free: 37.14 MB / 0.5762 GB Notification: Performance of Backend: time 3.4e-07/0.6449, allocations: 0 / 0.8088 GB, free: 37.14 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004861/0.6497, allocations: 3.139 MB / 0.8118 GB, free: 34.04 MB / 0.5762 GB Notification: Performance of SimCode: time 0.008645/0.6584, allocations: 6.239 MB / 0.8179 GB, free: 27.83 MB / 0.5762 GB Notification: Performance of Templates: time 0.0713/0.7297, allocations: 53.38 MB / 0.8701 GB, free: 6.816 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)