Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 103.2 kB / 16.41 MB, free: 6.504 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.001229/0.001229, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002239/0.002239, allocations: 284.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.926/0.926, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001957, allocations: 99.83 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4863/0.4882, allocations: 86.98 MB / 0.767 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05036/0.5386, allocations: 49.28 MB / 0.8152 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01901/0.5577, allocations: 13.82 MB / 0.8287 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002722/0.5605, allocations: 67.62 kB / 0.8287 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.563, allocations: 0.807 MB / 0.8295 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005999/0.569, allocations: 2.256 MB / 0.8317 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003531/0.5725, allocations: 1.309 MB / 0.833 GB, free: 192 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02135/0.5939, allocations: 19.59 MB / 0.8521 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01201/0.6059, allocations: 9.914 MB / 0.8618 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01384/0.6198, allocations: 6.585 MB / 0.8682 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009671/0.6295, allocations: 5.751 MB / 0.8738 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002318/0.6319, allocations: 0.8476 MB / 0.8747 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005215/0.6371, allocations: 1.6 MB / 0.8762 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002599/0.6397, allocations: 2.127 MB / 0.8783 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.006622/0.6463, allocations: 4.287 MB / 0.8825 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01227/0.6586, allocations: 12.08 MB / 0.8943 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6586, allocations: 0 / 0.8943 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6587, allocations: 0 / 0.8943 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002902/0.659, allocations: 7.938 kB / 0.8943 GB, free: 1.164 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01458/0.6735, allocations: 7.733 MB / 0.9019 GB, free: 9.352 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.6736, allocations: 8.031 kB / 0.9019 GB, free: 9.344 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00253/0.6761, allocations: 0.7852 MB / 0.9026 GB, free: 8.551 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01169/0.6878, allocations: 6.309 MB / 0.9088 GB, free: 2.184 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002828/0.6881, allocations: 415.4 kB / 0.9092 GB, free: 1.777 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009753/0.6891, allocations: 0.5506 MB / 0.9097 GB, free: 1.227 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01579/0.7049, allocations: 8.068 MB / 0.9176 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001536/0.7051, allocations: 19.77 kB / 0.9176 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008966/0.706, allocations: 236 kB / 0.9179 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001692/0.7062, allocations: 167.9 kB / 0.918 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01103/0.7172, allocations: 6.516 MB / 0.9244 GB, free: 1.977 MB / 0.6856 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.04572/0.763, allocations: 31.21 MB / 0.9549 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006364/0.7694, allocations: 3.646 MB / 0.9584 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004452/0.7739, allocations: 2.796 MB / 0.9611 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.775, allocations: 0.8358 MB / 0.962 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.356e-05/0.7751, allocations: 68.67 kB / 0.962 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=267): time 6.162e-06/0.7751, allocations: 0 / 0.962 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of matching and sorting (n=267): time 0.01199/0.7871, allocations: 5.755 MB / 0.9676 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.7872, allocations: 81.52 kB / 0.9677 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4514/1.239, allocations: 5.229 MB / 0.9728 GB, free: 185.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0007187/1.239, allocations: 78.55 kB / 0.9729 GB, free: 185.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002678/1.242, allocations: 2.87 MB / 0.9757 GB, free: 183.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001333/1.243, allocations: 0.9321 MB / 0.9766 GB, free: 183 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001161/1.245, allocations: 0.7131 MB / 0.9773 GB, free: 182.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.323e-05/1.245, allocations: 307.1 kB / 0.9776 GB, free: 182.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002737/1.247, allocations: 1.676 MB / 0.9792 GB, free: 181.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003279/1.251, allocations: 2.93 MB / 0.9821 GB, free: 179.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005449/1.256, allocations: 4.969 MB / 0.987 GB, free: 176.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.268e-05/1.256, allocations: 14.62 kB / 0.987 GB, free: 176.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008351/1.264, allocations: 5.44 MB / 0.9923 GB, free: 174.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.312e-05/1.265, allocations: 23.31 kB / 0.9923 GB, free: 174.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.58e-05/1.265, allocations: 38.16 kB / 0.9923 GB, free: 174.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009022/1.266, allocations: 421.1 kB / 0.9927 GB, free: 174.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002642/1.268, allocations: 0.8593 MB / 0.9936 GB, free: 174.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004404/1.273, allocations: 5.701 MB / 0.9992 GB, free: 170.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004112/1.277, allocations: 0.5153 MB / 0.9997 GB, free: 169.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003794/1.277, allocations: 182.7 kB / 0.9998 GB, free: 169.9 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * 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): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003291/1.28, allocations: 2.288 MB / 1.002 GB, free: 168.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001214/1.282, allocations: 486.4 kB / 1.003 GB, free: 168.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005441/1.287, allocations: 4.178 MB / 1.007 GB, free: 165 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/1.287, allocations: 31.98 kB / 1.007 GB, free: 164.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/1.287, allocations: 4 kB / 1.007 GB, free: 164.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003874/1.291, allocations: 3.635 MB / 1.01 GB, free: 161.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01802/1.309, allocations: 10.26 MB / 1.02 GB, free: 150.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/1.309, allocations: 4 kB / 1.02 GB, free: 150.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001955/1.311, allocations: 0.5003 MB / 1.021 GB, free: 150.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007774/1.312, allocations: 377.2 kB / 1.021 GB, free: 150 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002339/1.312, allocations: 79.97 kB / 1.021 GB, free: 149.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004365/1.316, allocations: 5.645 MB / 1.027 GB, free: 144 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.317, allocations: 4 kB / 1.027 GB, free: 144 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008272/1.325, allocations: 6.246 MB / 1.033 GB, free: 137.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003212/1.328, allocations: 1.096 MB / 1.034 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00136/1.329, allocations: 59.98 kB / 1.034 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00339/1.333, allocations: 177.2 kB / 1.034 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002983/1.333, allocations: 177.6 kB / 1.034 GB, free: 136 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003082/1.333, allocations: 131.9 kB / 1.034 GB, free: 135.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.006333/1.34, allocations: 3.835 MB / 1.038 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.34, allocations: 0 / 1.038 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007587/1.347, allocations: 1.802 MB / 1.04 GB, free: 130.3 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001783/1.349, allocations: 488.2 kB / 1.04 GB, free: 129.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006439/1.356, allocations: 4.277 MB / 1.044 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/1.356, allocations: 0.875 kB / 1.044 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002528/1.358, allocations: 2.042 MB / 1.046 GB, free: 123.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0169/1.375, allocations: 3.465 MB / 1.05 GB, free: 120.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02052/1.396, allocations: 12.53 MB / 1.062 GB, free: 107.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004199/1.4, allocations: 4.237 MB / 1.066 GB, free: 103.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001865/1.402, allocations: 443.2 kB / 1.067 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of SimCode: time 8.32e-07/1.402, allocations: 0 / 1.067 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.1917/1.593, allocations: 175.2 MB / 1.238 GB, free: 8.059 MB / 0.8106 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)