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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7832/0.7832, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.001239, allocations: 185.5 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 221.3 MB / 441.4 MB, free: 4.566 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008452/0.0008453, allocations: 95.88 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 261.6 kB / 0.5939 GB, free: 7.938 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.735e-05/3.747e-05, allocations: 4 kB / 0.6834 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4358, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8454/1.281, allocations: 375.8 MB / 1.131 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/1.282, allocations: 90.77 kB / 1.131 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.694/9.975, allocations: 2.104 GB / 3.235 GB, free: 94.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.04e-06/9.975, allocations: 0 / 3.235 GB, free: 94.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001617/9.977, allocations: 164 kB / 3.235 GB, free: 94.32 MB / 0.7136 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.0207/9.998, allocations: 5.499 MB / 3.24 GB, free: 91.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/9.998, allocations: 8.344 kB / 3.24 GB, free: 91.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004879/10, allocations: 0.7737 MB / 3.241 GB, free: 91.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01693/10.02, allocations: 7.276 MB / 3.248 GB, free: 88.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003913/10.02, allocations: 413.3 kB / 3.249 GB, free: 88.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002158/10.02, allocations: 0.5441 MB / 3.249 GB, free: 88.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01772/10.04, allocations: 7.402 MB / 3.256 GB, free: 84.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001945/10.04, allocations: 20.94 kB / 3.256 GB, free: 84.58 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001125/10.04, allocations: 231.7 kB / 3.257 GB, free: 84.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001849/10.04, allocations: 219.9 kB / 3.257 GB, free: 84.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01271/10.05, allocations: 5.851 MB / 3.263 GB, free: 81.65 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.04761/10.1, allocations: 29.67 MB / 3.292 GB, free: 51.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00501/10.11, allocations: 3.532 MB / 3.295 GB, free: 48.44 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003518/10.11, allocations: 2.978 MB / 3.298 GB, free: 45.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008284/10.11, allocations: 0.8283 MB / 3.299 GB, free: 44.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.669e-05/10.11, allocations: 76.61 kB / 3.299 GB, free: 44.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=267): time 4.037e-06/10.11, allocations: 0 / 3.299 GB, free: 44.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=267): time 0.006555/10.12, allocations: 3.65 MB / 3.302 GB, free: 40.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/10.12, allocations: 81.52 kB / 3.302 GB, free: 40.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008834/10.13, allocations: 4.767 MB / 3.307 GB, free: 35.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001018/10.13, allocations: 81.7 kB / 3.307 GB, free: 35.74 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002438/10.13, allocations: 2.83 MB / 3.31 GB, free: 32.89 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002041/10.13, allocations: 0.9348 MB / 3.311 GB, free: 31.96 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/10.13, allocations: 76 kB / 3.311 GB, free: 31.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000235/10.13, allocations: 457.9 kB / 3.311 GB, free: 31.44 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002226/10.14, allocations: 1.604 MB / 3.313 GB, free: 29.83 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002695/10.14, allocations: 2.868 MB / 3.316 GB, free: 26.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00268/10.14, allocations: 2.231 MB / 3.318 GB, free: 24.14 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.035e-05/10.14, allocations: 15.94 kB / 3.318 GB, free: 24.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.00866/10.15, allocations: 5.289 MB / 3.323 GB, free: 18.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.346e-05/10.15, allocations: 24.22 kB / 3.323 GB, free: 18.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-05/10.15, allocations: 47.94 kB / 3.323 GB, free: 18.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008666/10.15, allocations: 419.3 kB / 3.324 GB, free: 18.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003211/10.15, allocations: 0.858 MB / 3.324 GB, free: 17.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004626/10.16, allocations: 5.309 MB / 3.33 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006732/10.16, allocations: 0.6664 MB / 3.33 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009246/10.17, allocations: 180 kB / 3.33 GB, free: 11.03 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008985/10.17, allocations: 359.5 kB / 3.331 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001756/10.17, allocations: 478.2 kB / 3.331 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006598/10.18, allocations: 4.069 MB / 3.335 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/10.18, allocations: 24 kB / 3.335 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/10.18, allocations: 4 kB / 3.335 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004055/10.18, allocations: 3.526 MB / 3.339 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02504/10.2, allocations: 10.18 MB / 3.349 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/10.2, allocations: 4 kB / 3.349 GB, free: 8.113 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002246/10.21, allocations: 0.4954 MB / 3.349 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009278/10.21, allocations: 370.9 kB / 3.349 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002568/10.21, allocations: 75.97 kB / 3.35 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005938/10.21, allocations: 5.242 MB / 3.355 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/10.21, allocations: 7.938 kB / 3.355 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5993/10.81, allocations: 6.742 MB / 3.361 GB, free: 107.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005273/10.82, allocations: 1.203 MB / 3.362 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002245/10.82, allocations: 62.19 kB / 3.362 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005335/10.83, allocations: 301 kB / 3.363 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004879/10.83, allocations: 178.1 kB / 3.363 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004062/10.83, allocations: 132.6 kB / 3.363 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.009002/10.84, allocations: 3.874 MB / 3.367 GB, free: 107.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.12e-07/10.84, allocations: 0 / 3.367 GB, free: 107.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0111/10.85, allocations: 1.852 MB / 3.369 GB, free: 107.2 MB / 0.7292 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002346/10.85, allocations: 0.742 MB / 3.369 GB, free: 107 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0083/10.86, allocations: 4.145 MB / 3.373 GB, free: 106.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/10.86, allocations: 3.969 kB / 3.373 GB, free: 106.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002919/10.86, allocations: 1.987 MB / 3.375 GB, free: 106.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01871/10.88, allocations: 3.241 MB / 3.379 GB, free: 106.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02149/10.9, allocations: 10.58 MB / 3.389 GB, free: 104.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004614/10.91, allocations: 4.387 MB / 3.393 GB, free: 103.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.007692/10.91, allocations: 1.844 MB / 3.395 GB, free: 103.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001837/10.92, allocations: 424 kB / 3.395 GB, free: 103.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.573e-06/10.92, allocations: 1.375 kB / 3.395 GB, free: 103.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.1866/11.1, allocations: 113.5 MB / 3.506 GB, free: 92.49 MB / 0.7292 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)