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.0009031/0.0009031, allocations: 91.84 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.004814/0.004814, allocations: 170 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.275/1.275, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8836/0.8836, allocations: 135.7 MB / 427.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000285/0.000285, allocations: 12 kB / 0.5081 GB, free: 4.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1462, allocations: 82.39 MB / 0.5886 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.2533/0.3996, allocations: 36.67 MB / 0.6244 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008578/0.4082, allocations: 9.463 MB / 0.6336 GB, free: 26.47 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008243/0.4091, allocations: 41.41 kB / 0.6337 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008622/0.4099, allocations: 477.2 kB / 0.6341 GB, free: 26.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002207/0.4121, allocations: 1.454 MB / 0.6355 GB, free: 25.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.414, allocations: 1.122 MB / 0.6366 GB, free: 24.7 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005904/0.4199, allocations: 10.46 MB / 0.6469 GB, free: 20.87 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002543/0.4225, allocations: 3.081 MB / 0.6499 GB, free: 19.65 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002659/0.4252, allocations: 2.138 MB / 0.6519 GB, free: 18.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002367/0.4275, allocations: 2.269 MB / 0.6542 GB, free: 17.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002863/0.4278, allocations: 133 kB / 0.6543 GB, free: 17.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.4296, allocations: 0.9454 MB / 0.6552 GB, free: 17.55 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004833/0.4301, allocations: 0.6088 MB / 0.6558 GB, free: 17.24 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001328/0.4315, allocations: 1.567 MB / 0.6573 GB, free: 16.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004746/0.4362, allocations: 4.89 MB / 0.6621 GB, free: 15 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4362, allocations: 1.125 kB / 0.6621 GB, free: 15 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4362, allocations: 0 / 0.6621 GB, free: 15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.873e-05/0.4363, allocations: 4 kB / 0.6621 GB, free: 15 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.005091/0.4414, allocations: 2.99 MB / 0.665 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.4414, allocations: 10.41 kB / 0.6651 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007765/0.4422, allocations: 355.4 kB / 0.6654 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003404/0.4456, allocations: 2.636 MB / 0.668 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.4458, allocations: 176.8 kB / 0.6681 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003137/0.4461, allocations: 241.2 kB / 0.6684 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004673/0.4508, allocations: 3.235 MB / 0.6715 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.752e-05/0.4508, allocations: 7.75 kB / 0.6715 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002093/0.451, allocations: 98.06 kB / 0.6716 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-05/0.4511, allocations: 71.25 kB / 0.6717 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00359/0.4547, allocations: 2.582 MB / 0.6742 GB, free: 9.301 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.01204/0.4667, allocations: 13.77 MB / 0.6877 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002438/0.4692, allocations: 1.634 MB / 0.6893 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.4708, allocations: 1.158 MB / 0.6904 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008395/0.4716, allocations: 0.7293 MB / 0.6911 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.4717, allocations: 47.12 kB / 0.6911 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001064/0.4727, allocations: 189.3 kB / 0.6913 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=126): time 2.815e-06/0.4727, allocations: 0 / 0.6913 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=126): time 0.008397/0.4811, allocations: 3.484 MB / 0.6947 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.189e-05/0.4813, allocations: 142 kB / 0.6949 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002572/0.4838, allocations: 1.999 MB / 0.6968 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.484, allocations: 55.64 kB / 0.6969 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.4851, allocations: 1.253 MB / 0.6981 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004562/0.4855, allocations: 455.5 kB / 0.6985 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.4857, allocations: 150 kB / 0.6987 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.4859, allocations: 305.1 kB / 0.699 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.4869, allocations: 0.7374 MB / 0.6997 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.4884, allocations: 1.243 MB / 0.7009 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002574/0.491, allocations: 2.042 MB / 0.7029 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.491, allocations: 4 kB / 0.7029 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003722/0.4947, allocations: 2.429 MB / 0.7053 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003912/0.4951, allocations: 0.5036 MB / 0.7058 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.4951, allocations: 12 kB / 0.7058 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002031/0.4972, allocations: 0.5305 MB / 0.7063 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.4984, allocations: 343.5 kB / 0.7066 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003348/0.5017, allocations: 3.151 MB / 0.7097 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.5035, allocations: 223.5 kB / 0.7099 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.5036, allocations: 79.97 kB / 0.71 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.5036, allocations: 6.609 kB / 0.71 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003368/0.507, allocations: 2.199 MB / 0.7121 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.507, allocations: 16.12 kB / 0.7121 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005312/0.5076, allocations: 249.5 kB / 0.7124 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.5088, allocations: 363.4 kB / 0.7127 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004211/0.513, allocations: 4.178 MB / 0.7168 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.5145, allocations: 219.5 kB / 0.717 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.5147, allocations: 79.98 kB / 0.7171 GB, free: 5.238 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.001619/0.5163, allocations: 1.008 MB / 0.7181 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003164/0.5166, allocations: 209.5 kB / 0.7183 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003409/0.52, allocations: 2.081 MB / 0.7203 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.5201, allocations: 12 kB / 0.7203 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5201, allocations: 3.938 kB / 0.7203 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002489/0.5226, allocations: 1.671 MB / 0.722 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007279/0.5299, allocations: 4.707 MB / 0.7266 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.5299, allocations: 0 / 0.7266 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000807/0.5307, allocations: 199.7 kB / 0.7267 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001588/0.5323, allocations: 447.7 kB / 0.7272 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.725e-05/0.5324, allocations: 47.91 kB / 0.7272 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003035/0.5355, allocations: 3.054 MB / 0.7302 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5355, allocations: 0 / 0.7302 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004223/0.5397, allocations: 3.007 MB / 0.7331 GB, free: 4.469 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008917/0.5406, allocations: 0.5179 MB / 0.7336 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/0.5408, allocations: 24 kB / 0.7337 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.5422, allocations: 207.7 kB / 0.7339 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/0.5424, allocations: 97.16 kB / 0.734 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.5425, allocations: 59.89 kB / 0.734 GB, free: 3.551 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001888/0.5444, allocations: 1.381 MB / 0.7354 GB, free: 2.148 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5444, allocations: 0 / 0.7354 GB, free: 2.148 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003498/0.5479, allocations: 1.472 MB / 0.7368 GB, free: 0.6719 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.0007611/0.5487, allocations: 390 kB / 0.7372 GB, free: 304 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004923/0.5536, allocations: 3.372 MB / 0.7405 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.5537, allocations: 8.312 kB / 0.7405 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.5551, allocations: 1.02 MB / 0.7415 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004993/0.5601, allocations: 1.16 MB / 0.7426 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008153/0.5683, allocations: 6.488 MB / 0.7489 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/0.5701, allocations: 2.172 MB / 0.7511 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002415/0.5726, allocations: 0.9217 MB / 0.752 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004246/0.573, allocations: 175.4 kB / 0.7521 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of SimCode: time 4.1e-07/0.573, allocations: 0 / 0.7521 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of Templates: time 0.07034/0.6433, allocations: 46 MB / 0.7971 GB, free: 3.359 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)