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.0008724/0.0008724, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006746/0.006746, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.402/1.402, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9407/0.9407, allocations: 135.3 MB / 426.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003628, allocations: 12.86 kB / 0.5076 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1927, allocations: 82.32 MB / 0.588 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.3782/0.571, allocations: 36.66 MB / 0.6238 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01139/0.5824, allocations: 9.463 MB / 0.633 GB, free: 27.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002107/0.5846, allocations: 39.41 kB / 0.6331 GB, free: 27.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.5861, allocations: 478.3 kB / 0.6335 GB, free: 26.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004968/0.5911, allocations: 1.455 MB / 0.6349 GB, free: 25.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003351/0.5945, allocations: 1.122 MB / 0.636 GB, free: 25.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009835/0.6043, allocations: 10.47 MB / 0.6462 GB, free: 21.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004925/0.6093, allocations: 3.073 MB / 0.6492 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00563/0.6149, allocations: 2.141 MB / 0.6513 GB, free: 19.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005812/0.6208, allocations: 2.273 MB / 0.6536 GB, free: 18.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001412/0.6222, allocations: 134.1 kB / 0.6537 GB, free: 18.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004341/0.6266, allocations: 0.9404 MB / 0.6546 GB, free: 18.12 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001359/0.628, allocations: 0.6196 MB / 0.6552 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003405/0.6314, allocations: 1.567 MB / 0.6567 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008167/0.6396, allocations: 4.885 MB / 0.6615 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.6396, allocations: 4 kB / 0.6615 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.987e-06/0.6396, allocations: 1.344 kB / 0.6615 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002005/0.6398, allocations: 3.938 kB / 0.6615 GB, free: 15.56 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.009634/0.6495, allocations: 2.989 MB / 0.6644 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.6495, allocations: 10.19 kB / 0.6644 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/0.6515, allocations: 362 kB / 0.6648 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00574/0.6573, allocations: 2.63 MB / 0.6674 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.6575, allocations: 181 kB / 0.6675 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004711/0.658, allocations: 236 kB / 0.6678 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006688/0.6646, allocations: 3.241 MB / 0.6709 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.574e-05/0.6647, allocations: 6.219 kB / 0.6709 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002627/0.665, allocations: 94.59 kB / 0.671 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.392e-05/0.6651, allocations: 67.09 kB / 0.6711 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005719/0.6708, allocations: 2.581 MB / 0.6736 GB, free: 9.863 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.01867/0.6895, allocations: 13.77 MB / 0.6871 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002718/0.6922, allocations: 1.633 MB / 0.6886 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.6939, allocations: 1.15 MB / 0.6898 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008233/0.6948, allocations: 0.7209 MB / 0.6905 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.558e-05/0.6948, allocations: 54.92 kB / 0.6905 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001969/0.6968, allocations: 184.1 kB / 0.6907 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=126): time 4.919e-06/0.6968, allocations: 0.8125 kB / 0.6907 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=126): time 0.01026/0.7071, allocations: 3.484 MB / 0.6941 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.7073, allocations: 141.9 kB / 0.6942 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004615/0.7119, allocations: 2.004 MB / 0.6962 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004395/0.7123, allocations: 53.48 kB / 0.6962 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001472/0.7138, allocations: 1.26 MB / 0.6975 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000763/0.7146, allocations: 442.6 kB / 0.6979 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.7148, allocations: 147.2 kB / 0.698 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.715, allocations: 305.1 kB / 0.6983 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.7164, allocations: 0.737 MB / 0.699 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.718, allocations: 1.25 MB / 0.7003 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002881/0.7209, allocations: 2.045 MB / 0.7023 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/0.7209, allocations: 3.406 kB / 0.7023 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004614/0.7256, allocations: 2.428 MB / 0.7046 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003763/0.726, allocations: 0.4999 MB / 0.7051 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.726, allocations: 12 kB / 0.7051 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002303/0.7283, allocations: 0.5274 MB / 0.7057 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.7297, allocations: 347.4 kB / 0.706 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/0.7333, allocations: 3.146 MB / 0.7091 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003282/0.7366, allocations: 231.5 kB / 0.7093 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004031/0.7371, allocations: 80.06 kB / 0.7094 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.7371, allocations: 7.938 kB / 0.7094 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004671/0.7418, allocations: 2.196 MB / 0.7115 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.558e-05/0.7418, allocations: 16 kB / 0.7115 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006487/0.7425, allocations: 241.5 kB / 0.7118 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.7439, allocations: 363.4 kB / 0.7121 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004536/0.7484, allocations: 4.185 MB / 0.7162 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002984/0.7514, allocations: 215.6 kB / 0.7164 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004082/0.7519, allocations: 87.95 kB / 0.7165 GB, free: 6.051 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.003014/0.7549, allocations: 1.012 MB / 0.7175 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/0.756, allocations: 205.5 kB / 0.7177 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004753/0.7608, allocations: 2.077 MB / 0.7197 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/0.7608, allocations: 16 kB / 0.7197 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.7608, allocations: 8 kB / 0.7197 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002854/0.7637, allocations: 1.675 MB / 0.7213 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/0.7763, allocations: 4.705 MB / 0.7259 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.7763, allocations: 0 / 0.7259 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009197/0.7772, allocations: 199.8 kB / 0.7261 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001856/0.7791, allocations: 453.4 kB / 0.7266 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/0.7793, allocations: 40.11 kB / 0.7266 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003302/0.7826, allocations: 3.05 MB / 0.7296 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.7826, allocations: 3.938 kB / 0.7296 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005362/0.788, allocations: 3.003 MB / 0.7325 GB, free: 5.285 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001929/0.79, allocations: 0.5139 MB / 0.733 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008932/0.7909, allocations: 31.98 kB / 0.7331 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002612/0.7935, allocations: 211.4 kB / 0.7333 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003544/0.7939, allocations: 105.1 kB / 0.7334 GB, free: 4.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002239/0.7941, allocations: 52.09 kB / 0.7334 GB, free: 4.363 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004135/0.7982, allocations: 1.378 MB / 0.7347 GB, free: 2.965 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.21e-07/0.7983, allocations: 0 / 0.7347 GB, free: 2.965 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008784/0.8071, allocations: 1.476 MB / 0.7362 GB, free: 1.484 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.001419/0.8085, allocations: 383.4 kB / 0.7366 GB, free: 1.117 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007461/0.816, allocations: 3.377 MB / 0.7399 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.8161, allocations: 4 kB / 0.7399 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00203/0.8181, allocations: 1.012 MB / 0.7408 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008503/0.8266, allocations: 1.162 MB / 0.742 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.8402, allocations: 6.501 MB / 0.7483 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003366/0.8436, allocations: 2.161 MB / 0.7504 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004003/0.8477, allocations: 0.9211 MB / 0.7513 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008742/0.8486, allocations: 179.3 kB / 0.7515 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of SimCode: time 1.372e-06/0.8486, allocations: 0 / 0.7515 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of Templates: time 0.09179/0.9404, allocations: 46.01 MB / 0.7964 GB, free: 4.152 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)