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.007674/0.007674, allocations: 101.5 kB / 15.73 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.002001/0.002001, allocations: 187.4 kB / 16.67 MB, free: 5.969 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002145/0.002145, allocations: 267.1 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9615/0.9615, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 95.86 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1741, allocations: 86.97 MB / 0.7664 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.4229/0.5971, allocations: 49.28 MB / 0.8145 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02274/0.6198, allocations: 13.81 MB / 0.828 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003935/0.6238, allocations: 69.22 kB / 0.828 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00311/0.627, allocations: 0.8048 MB / 0.8288 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007844/0.6349, allocations: 2.255 MB / 0.831 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004103/0.639, allocations: 1.315 MB / 0.8323 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02127/0.6603, allocations: 19.6 MB / 0.8515 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01328/0.6736, allocations: 9.911 MB / 0.8611 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01523/0.6888, allocations: 6.596 MB / 0.8676 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01144/0.7003, allocations: 5.758 MB / 0.8732 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002654/0.703, allocations: 0.8477 MB / 0.874 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007404/0.7104, allocations: 1.604 MB / 0.8756 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003602/0.7141, allocations: 2.115 MB / 0.8777 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.009481/0.7236, allocations: 4.291 MB / 0.8819 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01667/0.7402, allocations: 12.08 MB / 0.8936 GB, free: 0.7383 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.7403, allocations: 0 / 0.8936 GB, free: 0.7383 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7403, allocations: 4 kB / 0.8937 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000392/0.7407, allocations: 0 / 0.8937 GB, free: 0.7344 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.01751/0.7582, allocations: 7.729 MB / 0.9012 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.7583, allocations: 12.03 kB / 0.9012 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002663/0.7609, allocations: 0.7813 MB / 0.902 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01176/0.7727, allocations: 6.306 MB / 0.9081 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002921/0.773, allocations: 411.6 kB / 0.9085 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001334/0.7744, allocations: 0.5544 MB / 0.9091 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01521/0.7896, allocations: 8.061 MB / 0.9169 GB, free: 8.5 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/0.7897, allocations: 15.84 kB / 0.917 GB, free: 8.484 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006485/0.7904, allocations: 244 kB / 0.9172 GB, free: 8.246 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001735/0.7906, allocations: 167.9 kB / 0.9173 GB, free: 8.082 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01146/0.802, allocations: 6.524 MB / 0.9237 GB, free: 1.547 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.04234/0.8444, allocations: 31.21 MB / 0.9542 GB, free: 0.5 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005248/0.8497, allocations: 3.642 MB / 0.9577 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003677/0.8534, allocations: 2.8 MB / 0.9605 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009662/0.8544, allocations: 0.8319 MB / 0.9613 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.558e-05/0.8545, allocations: 72.61 kB / 0.9614 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 4.679e-06/0.8545, allocations: 0 / 0.9614 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.01056/0.8651, allocations: 5.767 MB / 0.967 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.8651, allocations: 81.52 kB / 0.9671 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008447/0.8736, allocations: 5.228 MB / 0.9722 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0007398/0.8744, allocations: 77.7 kB / 0.9723 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002402/0.8768, allocations: 2.868 MB / 0.9751 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001364/0.8782, allocations: 0.9359 MB / 0.976 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009896/0.8792, allocations: 0.7152 MB / 0.9767 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.479e-05/0.8793, allocations: 309.1 kB / 0.977 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002399/0.8817, allocations: 1.678 MB / 0.9786 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003235/0.8849, allocations: 2.928 MB / 0.9815 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006367/0.8913, allocations: 4.97 MB / 0.9863 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.207e-05/0.8913, allocations: 12 kB / 0.9863 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009569/0.9009, allocations: 5.43 MB / 0.9916 GB, free: 8.605 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.622e-05/0.901, allocations: 25.88 kB / 0.9917 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.267e-05/0.9011, allocations: 40 kB / 0.9917 GB, free: 8.543 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009648/0.902, allocations: 428.5 kB / 0.9921 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00288/0.9049, allocations: 0.8619 MB / 0.9929 GB, free: 7.258 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00594/0.9109, allocations: 5.689 MB / 0.9985 GB, free: 1.301 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004504/0.9154, allocations: 0.5223 MB / 0.999 GB, free: 0.7734 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005208/0.9159, allocations: 180 kB / 0.9992 GB, free: 0.5977 MB / 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.004322/0.9203, allocations: 2.277 MB / 1.001 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001722/0.922, allocations: 490.1 kB / 1.002 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0076/0.9296, allocations: 4.2 MB / 1.006 GB, free: 9.57 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.713e-05/0.9296, allocations: 28 kB / 1.006 GB, free: 9.543 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/0.9297, allocations: 8 kB / 1.006 GB, free: 9.535 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0052/0.9349, allocations: 3.628 MB / 1.01 GB, free: 5.793 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0212/0.9561, allocations: 10.25 MB / 1.02 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.745e-05/0.9561, allocations: 8.547 kB / 1.02 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002163/0.9583, allocations: 0.4993 MB / 1.02 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000894/0.9592, allocations: 375.7 kB / 1.02 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002715/0.9595, allocations: 75.95 kB / 1.02 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005794/0.9653, allocations: 5.641 MB / 1.026 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.9653, allocations: 7.938 kB / 1.026 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/0.9754, allocations: 6.25 MB / 1.032 GB, free: 14.06 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003203/0.9786, allocations: 1.088 MB / 1.033 GB, free: 12.95 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001487/0.9801, allocations: 71.92 kB / 1.033 GB, free: 12.88 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003555/0.9837, allocations: 175.5 kB / 1.033 GB, free: 12.71 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003552/0.9841, allocations: 185.6 kB / 1.034 GB, free: 12.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003499/0.9844, allocations: 123.9 kB / 1.034 GB, free: 12.4 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.007579/0.992, allocations: 3.839 MB / 1.037 GB, free: 8.578 MB / 0.795 GB Notification: Performance of sort global known variables: time 2e-07/0.992, allocations: 0 / 1.037 GB, free: 8.578 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.006561/0.9986, allocations: 1.804 MB / 1.039 GB, free: 6.77 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.001488/1, allocations: 485.2 kB / 1.04 GB, free: 6.297 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.007225/1.007, allocations: 4.289 MB / 1.044 GB, free: 1.969 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/1.007, allocations: 0 / 1.044 GB, free: 1.969 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003149/1.011, allocations: 2.037 MB / 1.046 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0173/1.028, allocations: 3.451 MB / 1.049 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02241/1.05, allocations: 12.48 MB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00568/1.056, allocations: 4.299 MB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00659/1.063, allocations: 1.856 MB / 1.067 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001825/1.064, allocations: 423.2 kB / 1.068 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of SimCode: time 1.573e-06/1.064, allocations: 0 / 1.068 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of Templates: time 0.5316/1.596, allocations: 113.2 MB / 1.178 GB, free: 221.5 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)