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.006114/0.006114, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001529/0.00153, allocations: 196.8 kB / 16.67 MB, free: 5.973 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002142, allocations: 283 kB / 290.8 MB, free: 1.777 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9418/0.9418, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 87.86 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1652, allocations: 86.98 MB / 0.7664 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.4259/0.5911, allocations: 49.28 MB / 0.8145 GB, free: 28 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.023/0.6142, allocations: 13.81 MB / 0.828 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003631/0.6179, allocations: 67.25 kB / 0.828 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003091/0.621, allocations: 0.8092 MB / 0.8288 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008372/0.6294, allocations: 2.261 MB / 0.831 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004619/0.6341, allocations: 1.315 MB / 0.8323 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02827/0.6623, allocations: 19.59 MB / 0.8515 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01565/0.678, allocations: 9.905 MB / 0.8611 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01708/0.6952, allocations: 6.525 MB / 0.8675 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0104/0.7056, allocations: 5.758 MB / 0.8731 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002481/0.7081, allocations: 0.8476 MB / 0.874 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006459/0.7146, allocations: 1.604 MB / 0.8755 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00238/0.717, allocations: 2.115 MB / 0.8776 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007631/0.7246, allocations: 4.295 MB / 0.8818 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01357/0.7382, allocations: 12.12 MB / 0.8936 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.7382, allocations: 0 / 0.8936 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.384e-06/0.7382, allocations: 0 / 0.8936 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003184/0.7386, allocations: 0 / 0.8936 GB, free: 0.8711 MB / 0.6387 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.01653/0.7551, allocations: 7.933 MB / 0.9014 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.7552, allocations: 12.03 kB / 0.9014 GB, free: 8.836 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00288/0.7581, allocations: 0.8165 MB / 0.9022 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01203/0.7701, allocations: 6.334 MB / 0.9084 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003165/0.7705, allocations: 427.5 kB / 0.9088 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001215/0.7717, allocations: 0.5389 MB / 0.9093 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01381/0.7855, allocations: 8.069 MB / 0.9172 GB, free: 8.355 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/0.7857, allocations: 19.86 kB / 0.9172 GB, free: 8.336 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005866/0.7863, allocations: 232 kB / 0.9174 GB, free: 8.109 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000143/0.7864, allocations: 167.9 kB / 0.9176 GB, free: 7.945 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01094/0.7974, allocations: 6.528 MB / 0.9239 GB, free: 1.406 MB / 0.67 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.04389/0.8413, allocations: 31.26 MB / 0.9545 GB, free: 316 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005583/0.8469, allocations: 3.651 MB / 0.958 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003863/0.8508, allocations: 2.792 MB / 0.9608 GB, free: 9.863 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009174/0.8517, allocations: 0.8319 MB / 0.9616 GB, free: 8.863 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.499e-05/0.8518, allocations: 72.61 kB / 0.9617 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 4.499e-06/0.8518, allocations: 0 / 0.9617 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.01064/0.8625, allocations: 5.793 MB / 0.9673 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.8625, allocations: 77.52 kB / 0.9674 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008628/0.8712, allocations: 5.232 MB / 0.9725 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004178/0.8716, allocations: 77.7 kB / 0.9726 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002536/0.8742, allocations: 2.942 MB / 0.9754 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0011/0.8753, allocations: 0.98 MB / 0.9764 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009363/0.8762, allocations: 0.7156 MB / 0.9771 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.727e-05/0.8763, allocations: 309.1 kB / 0.9774 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002364/0.8787, allocations: 1.674 MB / 0.979 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003115/0.8818, allocations: 2.936 MB / 0.9819 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005726/0.8875, allocations: 4.959 MB / 0.9867 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-05/0.8876, allocations: 12 kB / 0.9867 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008472/0.8961, allocations: 5.459 MB / 0.9921 GB, free: 8.266 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.8961, allocations: 24 kB / 0.9921 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.405e-05/0.8962, allocations: 40 kB / 0.9921 GB, free: 8.203 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009369/0.8971, allocations: 421.2 kB / 0.9925 GB, free: 7.789 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002779/0.8999, allocations: 0.8657 MB / 0.9934 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005646/0.9055, allocations: 5.713 MB / 0.999 GB, free: 0.9453 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004445/0.91, allocations: 0.5237 MB / 0.9995 GB, free: 428 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003516/0.9104, allocations: 180 kB / 0.9996 GB, free: 248 kB / 0.7481 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.004048/0.9144, allocations: 2.285 MB / 1.002 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001452/0.9159, allocations: 0.5085 MB / 1.002 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006532/0.9224, allocations: 4.181 MB / 1.006 GB, free: 9.199 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/0.9225, allocations: 28 kB / 1.006 GB, free: 9.172 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/0.9225, allocations: 4 kB / 1.006 GB, free: 9.168 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004658/0.9271, allocations: 3.631 MB / 1.01 GB, free: 5.422 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0178/0.945, allocations: 10.27 MB / 1.02 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.945, allocations: 4 kB / 1.02 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002061/0.9471, allocations: 0.4954 MB / 1.021 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008118/0.9479, allocations: 376.6 kB / 1.021 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/0.9481, allocations: 75.95 kB / 1.021 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005775/0.9539, allocations: 5.653 MB / 1.027 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.9539, allocations: 4 kB / 1.027 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009961/0.9638, allocations: 6.269 MB / 1.033 GB, free: 13.66 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002944/0.9668, allocations: 1.122 MB / 1.034 GB, free: 12.51 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001038/0.9679, allocations: 67.92 kB / 1.034 GB, free: 12.45 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003094/0.971, allocations: 171.8 kB / 1.034 GB, free: 12.28 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003696/0.9713, allocations: 181.6 kB / 1.034 GB, free: 12.1 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000281/0.9716, allocations: 123.9 kB / 1.034 GB, free: 11.98 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.006605/0.9782, allocations: 3.839 MB / 1.038 GB, free: 8.152 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9783, allocations: 4 kB / 1.038 GB, free: 8.148 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.006409/0.9847, allocations: 1.813 MB / 1.04 GB, free: 6.332 MB / 0.795 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.001346/0.986, allocations: 497.5 kB / 1.04 GB, free: 5.848 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00708/0.9931, allocations: 4.289 MB / 1.044 GB, free: 1.52 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/0.9932, allocations: 4 kB / 1.044 GB, free: 1.516 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002894/0.9961, allocations: 2.035 MB / 1.046 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01541/1.011, allocations: 3.452 MB / 1.05 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/1.03, allocations: 12.68 MB / 1.062 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003956/1.034, allocations: 4.295 MB / 1.066 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.006063/1.04, allocations: 1.863 MB / 1.068 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001742/1.042, allocations: 419.2 kB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of SimCode: time 7.91e-07/1.042, allocations: 0 / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of Templates: time 0.5122/1.554, allocations: 113.2 MB / 1.179 GB, free: 221.1 MB / 0.8419 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)