Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(BuildingSystems.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001469/0.001469, allocations: 115.5 kB / 16.42 MB, free: 6.031 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.001725/0.001725, allocations: 186.2 kB / 17.35 MB, free: 5.633 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002114/0.002115, allocations: 285.2 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.934/0.934, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 95.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.396, allocations: 86.98 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.0377/0.4337, allocations: 37.74 MB / 0.8039 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01296/0.4467, allocations: 9.527 MB / 0.8132 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.4483, allocations: 43.75 kB / 0.8133 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.4499, allocations: 0.5936 MB / 0.8138 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004134/0.4541, allocations: 1.659 MB / 0.8155 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003116/0.4572, allocations: 1.242 MB / 0.8167 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008288/0.4655, allocations: 8.134 MB / 0.8246 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004448/0.47, allocations: 3.878 MB / 0.8284 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004817/0.4748, allocations: 2.895 MB / 0.8312 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003554/0.4784, allocations: 2.482 MB / 0.8337 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0008661/0.4793, allocations: 356 kB / 0.834 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002907/0.4822, allocations: 1.202 MB / 0.8352 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00119/0.4834, allocations: 0.8996 MB / 0.836 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002782/0.4862, allocations: 1.844 MB / 0.8378 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005161/0.4913, allocations: 5.238 MB / 0.843 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.4914, allocations: 0 / 0.843 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4914, allocations: 0 / 0.843 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.842e-05/0.4914, allocations: 0 / 0.843 GB, free: 5.898 MB / 0.6075 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.005614/0.497, allocations: 3.639 MB / 0.8465 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.4971, allocations: 12.03 kB / 0.8465 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008959/0.498, allocations: 357 kB / 0.8469 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004324/0.5023, allocations: 2.674 MB / 0.8495 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.5024, allocations: 176.6 kB / 0.8496 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003246/0.5028, allocations: 232 kB / 0.8499 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004774/0.5075, allocations: 3.242 MB / 0.853 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.496e-05/0.5076, allocations: 3.938 kB / 0.853 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/0.5078, allocations: 99.98 kB / 0.8531 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.235e-05/0.5079, allocations: 64 kB / 0.8532 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00384/0.5118, allocations: 2.589 MB / 0.8557 GB, free: 8.551 MB / 0.6231 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.01617/0.5279, allocations: 13.8 MB / 0.8692 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002442/0.5304, allocations: 1.611 MB / 0.8708 GB, free: 8.074 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.532, allocations: 1.142 MB / 0.8719 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007808/0.5328, allocations: 0.7127 MB / 0.8726 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.5328, allocations: 59.48 kB / 0.8726 GB, free: 6.004 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008727/0.5337, allocations: 139.1 kB / 0.8728 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=126): time 3.066e-06/0.5337, allocations: 4 kB / 0.8728 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of matching and sorting (n=126): time 0.00904/0.5427, allocations: 3.448 MB / 0.8761 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.5428, allocations: 141.5 kB / 0.8763 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/0.5459, allocations: 2.066 MB / 0.8783 GB, free: 92 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001504/0.5461, allocations: 53.7 kB / 0.8783 GB, free: 32 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.5472, allocations: 1.258 MB / 0.8796 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004208/0.5476, allocations: 445.7 kB / 0.88 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005123/0.5482, allocations: 351.2 kB / 0.8803 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.5483, allocations: 305.1 kB / 0.8806 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.5494, allocations: 0.7542 MB / 0.8814 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.5509, allocations: 1.24 MB / 0.8826 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002692/0.5536, allocations: 2.045 MB / 0.8846 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.291e-05/0.5537, allocations: 4 kB / 0.8846 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004027/0.5577, allocations: 2.433 MB / 0.8869 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.5577, allocations: 12 kB / 0.887 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.808e-05/0.5578, allocations: 16 kB / 0.887 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002286/0.5601, allocations: 0.5211 MB / 0.8875 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.5614, allocations: 343.5 kB / 0.8878 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003433/0.5648, allocations: 3.347 MB / 0.8911 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.5664, allocations: 119.9 kB / 0.8912 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.5666, allocations: 76.09 kB / 0.8913 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002351/0.569, allocations: 1.573 MB / 0.8928 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001461/0.5704, allocations: 1.237 MB / 0.894 GB, free: 15.15 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002598/0.573, allocations: 2.033 MB / 0.896 GB, free: 12.93 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.448e-06/0.5731, allocations: 7.938 kB / 0.896 GB, free: 12.92 MB / 0.67 GB Notification: Performance of matching and sorting (n=213) (initialization_lambda0): time 0.003916/0.577, allocations: 2.402 MB / 0.8983 GB, free: 10.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.577, allocations: 12 kB / 0.8984 GB, free: 10.49 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.577, allocations: 12 kB / 0.8984 GB, free: 10.48 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005879/0.5776, allocations: 245.5 kB / 0.8986 GB, free: 10.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.579, allocations: 363.4 kB / 0.899 GB, free: 9.875 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004238/0.5832, allocations: 4.558 MB / 0.9034 GB, free: 5.031 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.5849, allocations: 127.8 kB / 0.9035 GB, free: 4.906 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.5851, allocations: 79.98 kB / 0.9036 GB, free: 4.828 MB / 0.67 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.0004298/0.5855, allocations: 291.7 kB / 0.9039 GB, free: 4.535 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005194/0.586, allocations: 209.4 kB / 0.9041 GB, free: 4.328 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003532/0.5896, allocations: 2.074 MB / 0.9061 GB, free: 2.254 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002458/0.592, allocations: 1.671 MB / 0.9077 GB, free: 0.5625 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.5921, allocations: 8 kB / 0.9077 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.5931, allocations: 494.3 kB / 0.9082 GB, free: 52 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003706/0.5935, allocations: 31.98 kB / 0.9082 GB, free: 20 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/0.5949, allocations: 79.89 kB / 0.9083 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002241/0.5951, allocations: 105.1 kB / 0.9084 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004094/0.5992, allocations: 2.119 MB / 0.9105 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004022/0.6032, allocations: 2.905 MB / 0.9133 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00107/0.6043, allocations: 0.7987 MB / 0.9141 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002329/0.6067, allocations: 1.428 MB / 0.9155 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of Backend: time 3.71e-07/0.6067, allocations: 0 / 0.9155 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006252/0.6129, allocations: 3.134 MB / 0.9186 GB, free: 5.375 MB / 0.6856 GB Notification: Performance of SimCode: time 0.01082/0.6238, allocations: 6.239 MB / 0.9247 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of Templates: time 0.3741/0.9979, allocations: 53.42 MB / 0.9768 GB, free: 191.9 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)