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.8254/0.8254, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 179.7 kB / 182.2 MB, free: 9.449 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.542/1.542, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0008997/0.0008996, allocations: 88.11 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001779/0.001779, allocations: 287.7 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.426e-05/1.422e-05, allocations: 0 / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4286, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7664/1.195, allocations: 375.1 MB / 1.124 GB, free: 6.301 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/1.195, allocations: 86.95 kB / 1.124 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.615/8.811, allocations: 2.093 GB / 3.217 GB, free: 97.88 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.663e-06/8.811, allocations: 0 / 3.217 GB, free: 97.88 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0009802/8.812, allocations: 177.9 kB / 3.217 GB, free: 97.85 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.01847/8.83, allocations: 5.495 MB / 3.222 GB, free: 95.78 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/8.83, allocations: 8.75 kB / 3.222 GB, free: 95.78 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005177/8.836, allocations: 0.7726 MB / 3.223 GB, free: 95.42 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01765/8.853, allocations: 7.272 MB / 3.23 GB, free: 94.64 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003347/8.854, allocations: 175.5 kB / 3.23 GB, free: 94.64 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002129/8.856, allocations: 328.3 kB / 3.231 GB, free: 94.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01328/8.869, allocations: 5.497 MB / 3.236 GB, free: 93.15 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01947/8.889, allocations: 6.605 MB / 3.242 GB, free: 90.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003554/8.889, allocations: 15.28 kB / 3.243 GB, free: 90.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002129/8.891, allocations: 7.844 kB / 3.243 GB, free: 90.46 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002268/8.891, allocations: 227.6 kB / 3.243 GB, free: 90.44 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.04586/8.937, allocations: 28.57 MB / 3.271 GB, free: 68.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00601/8.943, allocations: 3.39 MB / 3.274 GB, free: 65.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004746/8.948, allocations: 2.642 MB / 3.277 GB, free: 62.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001161/8.949, allocations: 0.8208 MB / 3.277 GB, free: 61.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001064/8.95, allocations: 74.45 kB / 3.277 GB, free: 61.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=267): time 7.343e-06/8.95, allocations: 4 kB / 3.277 GB, free: 61.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=267): time 0.008499/8.958, allocations: 3.522 MB / 3.281 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/8.958, allocations: 81.52 kB / 3.281 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00876/8.967, allocations: 3.911 MB / 3.285 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0008137/8.968, allocations: 29.7 kB / 3.285 GB, free: 53.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002802/8.971, allocations: 2.829 MB / 3.288 GB, free: 50.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001641/8.972, allocations: 0.9047 MB / 3.288 GB, free: 50.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006196/8.973, allocations: 0 / 3.288 GB, free: 50.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003926/8.973, allocations: 457.9 kB / 3.289 GB, free: 49.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002723/8.976, allocations: 1.538 MB / 3.29 GB, free: 48.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003336/8.979, allocations: 2.767 MB / 3.293 GB, free: 44.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004168/8.984, allocations: 2.226 MB / 3.295 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.536e-05/8.984, allocations: 12 kB / 3.295 GB, free: 42.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01184/8.995, allocations: 4.916 MB / 3.3 GB, free: 37.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.086e-05/8.996, allocations: 24 kB / 3.3 GB, free: 37.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.166e-05/8.996, allocations: 43.95 kB / 3.3 GB, free: 37.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000919/8.997, allocations: 415.2 kB / 3.3 GB, free: 37.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00352/9, allocations: 0.8656 MB / 3.301 GB, free: 36.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005174/9.005, allocations: 5.149 MB / 3.306 GB, free: 30.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006087/9.011, allocations: 0.5227 MB / 3.307 GB, free: 30.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001062/9.013, allocations: 184 kB / 3.307 GB, free: 30.11 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.001633/9.014, allocations: 223.6 kB / 3.307 GB, free: 29.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001984/9.016, allocations: 418.8 kB / 3.308 GB, free: 29.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009196/9.025, allocations: 3.887 MB / 3.311 GB, free: 25.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.773e-05/9.026, allocations: 27.94 kB / 3.311 GB, free: 25.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.632e-05/9.026, allocations: 4 kB / 3.311 GB, free: 25.49 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005814/9.031, allocations: 3.448 MB / 3.315 GB, free: 21.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0213/9.053, allocations: 9.339 MB / 3.324 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/9.053, allocations: 4 kB / 3.324 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002235/9.055, allocations: 0.4998 MB / 3.324 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007804/9.056, allocations: 371.4 kB / 3.325 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003465/9.056, allocations: 39.95 kB / 3.325 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00454/9.061, allocations: 5.087 MB / 3.33 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/9.061, allocations: 7.938 kB / 3.33 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4975/9.558, allocations: 6.409 MB / 3.336 GB, free: 95.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004767/9.563, allocations: 1.115 MB / 3.337 GB, free: 95.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001721/9.565, allocations: 24.23 kB / 3.337 GB, free: 95.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004568/9.569, allocations: 250.4 kB / 3.337 GB, free: 95.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004919/9.57, allocations: 174.4 kB / 3.338 GB, free: 95.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004602/9.57, allocations: 129.7 kB / 3.338 GB, free: 95.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.006579/9.577, allocations: 2.974 MB / 3.341 GB, free: 95.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.01e-07/9.577, allocations: 0 / 3.341 GB, free: 95.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.009181/9.586, allocations: 1.852 MB / 3.342 GB, free: 95.02 MB / 0.7136 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.002277/9.589, allocations: 0.7023 MB / 3.343 GB, free: 94.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006952/9.596, allocations: 3.93 MB / 3.347 GB, free: 94.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.551e-05/9.596, allocations: 3.312 kB / 3.347 GB, free: 94.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003373/9.599, allocations: 1.907 MB / 3.349 GB, free: 94.41 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01353/9.613, allocations: 2.366 MB / 3.351 GB, free: 94.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02558/9.638, allocations: 10.23 MB / 3.361 GB, free: 92.38 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006702/9.645, allocations: 4.384 MB / 3.365 GB, free: 91.55 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.007316/9.652, allocations: 1.666 MB / 3.367 GB, free: 91.51 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001838/9.654, allocations: 387.7 kB / 3.367 GB, free: 91.51 MB / 0.7136 GB Notification: Performance of SimCode: time 8.72e-07/9.654, allocations: 0 / 3.367 GB, free: 91.51 MB / 0.7136 GB Notification: Performance of Templates: time 0.1331/9.787, allocations: 83.81 MB / 3.449 GB, free: 86.79 MB / 0.7136 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)