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.0008026/0.0008025, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.0008896/0.0008897, allocations: 172.7 kB / 15.95 MB, free: 208 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.384/1.384, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.019/1.019, allocations: 135.3 MB / 426.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003897, allocations: 12.83 kB / 0.507 GB, free: 5.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.179, allocations: 82.3 MB / 0.5874 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.3866/0.5656, allocations: 34.69 MB / 0.6212 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01229/0.578, allocations: 8.943 MB / 0.63 GB, free: 29.1 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002215/0.5802, allocations: 38.53 kB / 0.63 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.5817, allocations: 415.6 kB / 0.6304 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00419/0.5859, allocations: 1.264 MB / 0.6316 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.5895, allocations: 0.9572 MB / 0.6326 GB, free: 27.65 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01069/0.6002, allocations: 8.917 MB / 0.6413 GB, free: 24.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004094/0.6043, allocations: 2.771 MB / 0.644 GB, free: 23.03 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007676/0.612, allocations: 2.126 MB / 0.6461 GB, free: 22.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005512/0.6176, allocations: 2.158 MB / 0.6482 GB, free: 21.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006461/0.6183, allocations: 132.4 kB / 0.6483 GB, free: 21.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00413/0.6224, allocations: 0.7817 MB / 0.6491 GB, free: 21.14 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.6235, allocations: 0.5934 MB / 0.6496 GB, free: 20.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00257/0.6261, allocations: 0.6449 MB / 0.6503 GB, free: 20.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007775/0.6339, allocations: 4.014 MB / 0.6542 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.6339, allocations: 0.7031 kB / 0.6542 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6339, allocations: 0 / 0.6542 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002549/0.6342, allocations: 0.5938 kB / 0.6542 GB, free: 19.64 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.009479/0.6437, allocations: 3.023 MB / 0.6572 GB, free: 17.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.6437, allocations: 9.312 kB / 0.6572 GB, free: 17.97 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002228/0.646, allocations: 362 kB / 0.6575 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006458/0.6524, allocations: 2.558 MB / 0.66 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.6526, allocations: 180.2 kB / 0.6602 GB, free: 16.42 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005347/0.6532, allocations: 236.1 kB / 0.6604 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007129/0.6603, allocations: 3.216 MB / 0.6635 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.207e-05/0.6604, allocations: 7.781 kB / 0.6635 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002696/0.6607, allocations: 98.62 kB / 0.6636 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.246e-05/0.6608, allocations: 67.81 kB / 0.6637 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005314/0.6661, allocations: 2.572 MB / 0.6662 GB, free: 14.01 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.02076/0.6869, allocations: 13.75 MB / 0.6796 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002982/0.6899, allocations: 1.623 MB / 0.6812 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/0.6916, allocations: 1.173 MB / 0.6824 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007111/0.6923, allocations: 0.7289 MB / 0.6831 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/0.6924, allocations: 51.09 kB / 0.6831 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002366/0.6947, allocations: 184.9 kB / 0.6833 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=126): time 7.524e-06/0.6947, allocations: 3.938 kB / 0.6833 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=126): time 0.00957/0.7043, allocations: 3.446 MB / 0.6867 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.7045, allocations: 145.5 kB / 0.6868 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003775/0.7083, allocations: 1.978 MB / 0.6888 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003364/0.7086, allocations: 55.55 kB / 0.6888 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001536/0.7102, allocations: 1.253 MB / 0.69 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000667/0.7108, allocations: 447.2 kB / 0.6905 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.492e-05/0.7109, allocations: 35.16 kB / 0.6905 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.7111, allocations: 373.1 kB / 0.6908 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.7124, allocations: 0.7339 MB / 0.6916 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.714, allocations: 1.231 MB / 0.6928 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.7156, allocations: 0.9488 MB / 0.6937 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.7156, allocations: 8.125 kB / 0.6937 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004615/0.7202, allocations: 2.404 MB / 0.696 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004088/0.7207, allocations: 0.5115 MB / 0.6965 GB, free: 9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.7207, allocations: 17.5 kB / 0.6966 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001975/0.7227, allocations: 0.5129 MB / 0.6971 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.7239, allocations: 347 kB / 0.6974 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003286/0.7272, allocations: 3.145 MB / 0.7005 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002825/0.73, allocations: 223.8 kB / 0.7007 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/0.7303, allocations: 84.75 kB / 0.7008 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.7303, allocations: 7 kB / 0.7008 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00369/0.734, allocations: 2.18 MB / 0.7029 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.734, allocations: 12 kB / 0.7029 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005997/0.7346, allocations: 241.9 kB / 0.7031 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.7359, allocations: 371.4 kB / 0.7035 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004293/0.7402, allocations: 4.169 MB / 0.7076 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002872/0.7431, allocations: 223.5 kB / 0.7078 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/0.7434, allocations: 79.98 kB / 0.7079 GB, free: 14.84 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.002615/0.746, allocations: 1.016 MB / 0.7088 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007565/0.7467, allocations: 209.5 kB / 0.709 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00389/0.7506, allocations: 2.065 MB / 0.7111 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.7507, allocations: 12 kB / 0.7111 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.7507, allocations: 7.938 kB / 0.7111 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002492/0.7532, allocations: 1.664 MB / 0.7127 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009915/0.7631, allocations: 4.697 MB / 0.7173 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/0.7632, allocations: 0 / 0.7173 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000981/0.7642, allocations: 203.8 kB / 0.7175 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001892/0.7661, allocations: 445.4 kB / 0.7179 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001556/0.7663, allocations: 39.97 kB / 0.718 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003794/0.7701, allocations: 3.051 MB / 0.7209 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7701, allocations: 4.062 kB / 0.7209 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005553/0.7757, allocations: 2.991 MB / 0.7239 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002197/0.7779, allocations: 0.5179 MB / 0.7244 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004462/0.7784, allocations: 32 kB / 0.7244 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/0.7799, allocations: 199.5 kB / 0.7246 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002646/0.7802, allocations: 113.1 kB / 0.7247 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.7803, allocations: 55.91 kB / 0.7247 GB, free: 13.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00253/0.7828, allocations: 1.358 MB / 0.7261 GB, free: 11.81 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7828, allocations: 4 kB / 0.7261 GB, free: 11.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005708/0.7885, allocations: 1.472 MB / 0.7275 GB, free: 10.33 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 (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.001093/0.7897, allocations: 363.3 kB / 0.7279 GB, free: 9.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006509/0.7962, allocations: 3.369 MB / 0.7311 GB, free: 6.582 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.7962, allocations: 0 / 0.7311 GB, free: 6.582 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001908/0.7982, allocations: 1.012 MB / 0.7321 GB, free: 5.562 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008019/0.8062, allocations: 1.149 MB / 0.7333 GB, free: 4.434 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/0.8207, allocations: 6.348 MB / 0.7395 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003287/0.824, allocations: 2.164 MB / 0.7416 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00432/0.8283, allocations: 0.9281 MB / 0.7425 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009106/0.8293, allocations: 171.4 kB / 0.7426 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of SimCode: time 1.523e-06/0.8293, allocations: 0 / 0.7426 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of Templates: time 0.08781/0.9171, allocations: 44.77 MB / 0.7864 GB, free: 14.43 MB / 0.6075 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)