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.0009468/0.0009469, allocations: 111.5 kB / 16.42 MB, free: 6.488 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.0009226/0.0009226, allocations: 186.5 kB / 17.35 MB, free: 5.762 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.178/1.178, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.712/0.712, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 66.92 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1196, allocations: 80.92 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.03384/0.1535, allocations: 37.77 MB / 0.7022 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01161/0.1652, allocations: 9.505 MB / 0.7115 GB, free: 6.379 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.1665, allocations: 43.75 kB / 0.7115 GB, free: 6.336 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.168, allocations: 0.5897 MB / 0.7121 GB, free: 5.742 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00363/0.1716, allocations: 1.671 MB / 0.7137 GB, free: 4.066 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.1743, allocations: 1.248 MB / 0.7149 GB, free: 2.824 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007085/0.1814, allocations: 8.107 MB / 0.7228 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004011/0.1854, allocations: 3.89 MB / 0.7266 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005072/0.1905, allocations: 2.878 MB / 0.7295 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003451/0.194, allocations: 2.502 MB / 0.7319 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0008383/0.1948, allocations: 360 kB / 0.7322 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002839/0.1977, allocations: 1.198 MB / 0.7334 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.1987, allocations: 0.8918 MB / 0.7343 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002569/0.2013, allocations: 1.847 MB / 0.7361 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00525/0.2066, allocations: 5.235 MB / 0.7412 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2066, allocations: 0 / 0.7412 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2066, allocations: 3.938 kB / 0.7412 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.886e-05/0.2067, allocations: 0 / 0.7412 GB, free: 7.805 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.00521/0.2119, allocations: 3.637 MB / 0.7448 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.2119, allocations: 9.109 kB / 0.7448 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008046/0.2127, allocations: 360.4 kB / 0.7451 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003958/0.2167, allocations: 2.66 MB / 0.7477 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.2168, allocations: 176.6 kB / 0.7479 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002972/0.2171, allocations: 235.9 kB / 0.7481 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2617/0.4788, allocations: 3.232 MB / 0.7513 GB, free: 77.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.979e-05/0.4789, allocations: 8.297 kB / 0.7513 GB, free: 77.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/0.4791, allocations: 95.91 kB / 0.7514 GB, free: 77.05 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.303e-05/0.4792, allocations: 73.62 kB / 0.7514 GB, free: 77.05 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003528/0.4827, allocations: 2.582 MB / 0.7539 GB, free: 76.19 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.01395/0.4967, allocations: 13.8 MB / 0.7674 GB, free: 66.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/0.4988, allocations: 1.611 MB / 0.769 GB, free: 66.12 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.5002, allocations: 1.151 MB / 0.7701 GB, free: 65.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005821/0.5008, allocations: 0.7085 MB / 0.7708 GB, free: 64.97 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.5008, allocations: 50.31 kB / 0.7709 GB, free: 64.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006575/0.5015, allocations: 152.5 kB / 0.771 GB, free: 64.83 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=126): time 3.026e-06/0.5015, allocations: 1.875 kB / 0.771 GB, free: 64.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=126): time 0.007721/0.5092, allocations: 3.45 MB / 0.7744 GB, free: 63.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.5093, allocations: 142.2 kB / 0.7745 GB, free: 63.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002105/0.5114, allocations: 2.069 MB / 0.7765 GB, free: 61.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.5115, allocations: 58.52 kB / 0.7766 GB, free: 61.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006498/0.5121, allocations: 1.255 MB / 0.7778 GB, free: 60.85 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/0.5124, allocations: 445.7 kB / 0.7782 GB, free: 60.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003954/0.5128, allocations: 345.7 kB / 0.7786 GB, free: 60.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.037e-05/0.5128, allocations: 302.2 kB / 0.7789 GB, free: 59.99 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009312/0.5138, allocations: 0.7505 MB / 0.7796 GB, free: 59.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.5149, allocations: 1.247 MB / 0.7808 GB, free: 58.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00205/0.517, allocations: 2.039 MB / 0.7828 GB, free: 57.17 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.517, allocations: 9.234 kB / 0.7828 GB, free: 57.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003148/0.5201, allocations: 2.436 MB / 0.7852 GB, free: 55.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.5202, allocations: 11.56 kB / 0.7852 GB, free: 55.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.5202, allocations: 17.62 kB / 0.7852 GB, free: 55.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/0.5221, allocations: 0.5165 MB / 0.7857 GB, free: 55.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.5232, allocations: 352.3 kB / 0.7861 GB, free: 55.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.5255, allocations: 3.354 MB / 0.7893 GB, free: 52.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.5269, allocations: 118.8 kB / 0.7894 GB, free: 52.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.527, allocations: 78.58 kB / 0.7895 GB, free: 52.65 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001741/0.5288, allocations: 1.568 MB / 0.7911 GB, free: 51.76 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009807/0.5298, allocations: 1.247 MB / 0.7923 GB, free: 50.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001894/0.5317, allocations: 2.026 MB / 0.7943 GB, free: 49.22 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.21e-06/0.5317, allocations: 4 kB / 0.7943 GB, free: 49.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213) (initialization_lambda0): time 0.002757/0.5345, allocations: 2.398 MB / 0.7966 GB, free: 46.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.5345, allocations: 12 kB / 0.7966 GB, free: 46.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.5345, allocations: 13.83 kB / 0.7966 GB, free: 46.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004311/0.5349, allocations: 239 kB / 0.7968 GB, free: 46.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.5361, allocations: 375.3 kB / 0.7972 GB, free: 46.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002769/0.5388, allocations: 4.562 MB / 0.8017 GB, free: 41.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.5401, allocations: 123.3 kB / 0.8018 GB, free: 41.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.862e-05/0.5402, allocations: 83.97 kB / 0.8019 GB, free: 41.16 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.0003009/0.5405, allocations: 293.8 kB / 0.8021 GB, free: 40.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002777/0.5408, allocations: 209.5 kB / 0.8023 GB, free: 40.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002906/0.5437, allocations: 2.067 MB / 0.8044 GB, free: 38.58 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001795/0.5455, allocations: 1.671 MB / 0.806 GB, free: 36.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5455, allocations: 0 / 0.806 GB, free: 36.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00071/0.5462, allocations: 498.3 kB / 0.8065 GB, free: 36.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002458/0.5465, allocations: 28 kB / 0.8065 GB, free: 36.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.5476, allocations: 91.94 kB / 0.8066 GB, free: 36.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.5477, allocations: 105.1 kB / 0.8067 GB, free: 36.17 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003067/0.5508, allocations: 2.12 MB / 0.8087 GB, free: 34.06 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002767/0.5536, allocations: 2.896 MB / 0.8116 GB, free: 31.15 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007416/0.5543, allocations: 0.7948 MB / 0.8124 GB, free: 30.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001347/0.5557, allocations: 1.433 MB / 0.8138 GB, free: 28.9 MB / 0.5762 GB Notification: Performance of Backend: time 3.31e-07/0.5557, allocations: 0 / 0.8138 GB, free: 28.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004141/0.5598, allocations: 3.141 MB / 0.8168 GB, free: 25.8 MB / 0.5762 GB Notification: Performance of SimCode: time 0.007223/0.5671, allocations: 6.231 MB / 0.8229 GB, free: 19.56 MB / 0.5762 GB Notification: Performance of Templates: time 0.06521/0.6323, allocations: 53.39 MB / 0.875 GB, free: 14.55 MB / 0.6231 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)