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.00156/0.00156, allocations: 107.1 kB / 16.36 MB, free: 6.34 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.001716/0.001716, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003733/0.003733, allocations: 290.2 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9226/0.9226, allocations: 169.2 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 94.55 kB / 0.5966 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1648, allocations: 86.98 MB / 0.6816 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.3562/0.5211, allocations: 49.28 MB / 0.7297 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02094/0.5421, allocations: 13.82 MB / 0.7432 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003034/0.5451, allocations: 67.66 kB / 0.7433 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002438/0.5477, allocations: 0.8114 MB / 0.7441 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006872/0.5545, allocations: 2.254 MB / 0.7463 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003531/0.5581, allocations: 1.31 MB / 0.7475 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0202/0.5783, allocations: 19.59 MB / 0.7667 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01225/0.5906, allocations: 9.906 MB / 0.7763 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0132/0.6038, allocations: 6.516 MB / 0.7827 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00991/0.6138, allocations: 5.755 MB / 0.7883 GB, free: 1.496 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002334/0.6161, allocations: 0.8438 MB / 0.7892 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006069/0.6222, allocations: 1.6 MB / 0.7907 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003179/0.6254, allocations: 2.119 MB / 0.7928 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.008333/0.6338, allocations: 4.295 MB / 0.797 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01374/0.6475, allocations: 12.07 MB / 0.8088 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.6476, allocations: 4 kB / 0.8088 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6476, allocations: 0 / 0.8088 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003483/0.648, allocations: 4 kB / 0.8088 GB, free: 12.5 MB / 0.5762 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.01981/0.6678, allocations: 7.73 MB / 0.8163 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.6678, allocations: 8.031 kB / 0.8163 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003576/0.6714, allocations: 0.7891 MB / 0.8171 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01282/0.6843, allocations: 6.309 MB / 0.8233 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003756/0.6847, allocations: 411.6 kB / 0.8237 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001835/0.6865, allocations: 0.5506 MB / 0.8242 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01612/0.7027, allocations: 8.076 MB / 0.8321 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/0.7028, allocations: 19.84 kB / 0.8321 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007087/0.7036, allocations: 236 kB / 0.8323 GB, free: 4 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001572/0.7037, allocations: 163.9 kB / 0.8325 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01301/0.7167, allocations: 6.532 MB / 0.8389 GB, free: 13.3 MB / 0.6075 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.04319/0.76, allocations: 31.2 MB / 0.8693 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005412/0.7654, allocations: 3.651 MB / 0.8729 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003798/0.7692, allocations: 2.808 MB / 0.8756 GB, free: 5.805 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009298/0.7702, allocations: 0.828 MB / 0.8764 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.447e-05/0.7703, allocations: 76.61 kB / 0.8765 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=267): time 4.619e-06/0.7703, allocations: 0 / 0.8765 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267): time 0.01127/0.7816, allocations: 5.763 MB / 0.8821 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.7817, allocations: 77.52 kB / 0.8822 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008193/0.7899, allocations: 5.231 MB / 0.8873 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0006321/0.7905, allocations: 77.7 kB / 0.8874 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002482/0.793, allocations: 2.868 MB / 0.8902 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001446/0.7945, allocations: 0.9359 MB / 0.8911 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/0.7956, allocations: 0.7113 MB / 0.8918 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.7957, allocations: 309.1 kB / 0.8921 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002606/0.7983, allocations: 1.674 MB / 0.8937 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003374/0.8017, allocations: 2.94 MB / 0.8966 GB, free: 15.41 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006355/0.8081, allocations: 4.958 MB / 0.9014 GB, free: 9.863 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-05/0.8082, allocations: 8 kB / 0.9015 GB, free: 9.855 MB / 0.67 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009493/0.8177, allocations: 5.441 MB / 0.9068 GB, free: 4.359 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/0.8177, allocations: 20 kB / 0.9068 GB, free: 4.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.411e-05/0.8178, allocations: 40 kB / 0.9068 GB, free: 4.301 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009307/0.8187, allocations: 425.2 kB / 0.9072 GB, free: 3.883 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003127/0.8219, allocations: 0.8619 MB / 0.9081 GB, free: 3.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005985/0.8279, allocations: 5.704 MB / 0.9136 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004578/0.8325, allocations: 0.5223 MB / 0.9142 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007391/0.8332, allocations: 180 kB / 0.9143 GB, free: 12.34 MB / 0.6856 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.004229/0.8375, allocations: 2.276 MB / 0.9165 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00176/0.8392, allocations: 494.1 kB / 0.917 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006841/0.8461, allocations: 4.184 MB / 0.9211 GB, free: 5.324 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-05/0.8461, allocations: 28 kB / 0.9211 GB, free: 5.297 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.8461, allocations: 4 kB / 0.9211 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004894/0.851, allocations: 3.628 MB / 0.9247 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02061/0.8717, allocations: 10.27 MB / 0.9347 GB, free: 7.105 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/0.8717, allocations: 4 kB / 0.9347 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002087/0.8738, allocations: 0.4992 MB / 0.9352 GB, free: 6.602 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008439/0.8747, allocations: 376.2 kB / 0.9356 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002268/0.8749, allocations: 75.95 kB / 0.9356 GB, free: 6.156 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005499/0.8804, allocations: 5.65 MB / 0.9411 GB, free: 232 kB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.8804, allocations: 7.938 kB / 0.9412 GB, free: 224 kB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009777/0.8902, allocations: 6.242 MB / 0.9473 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003386/0.8936, allocations: 1.096 MB / 0.9483 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001298/0.8949, allocations: 67.92 kB / 0.9484 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003193/0.8982, allocations: 167.6 kB / 0.9485 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003544/0.8985, allocations: 181.6 kB / 0.9487 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003163/0.8988, allocations: 124 kB / 0.9488 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.006217/0.9051, allocations: 3.843 MB / 0.9526 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.783e-06/0.9051, allocations: 0 / 0.9526 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005735/0.9108, allocations: 1.804 MB / 0.9544 GB, free: 2.516 MB / 0.7169 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.001215/0.9121, allocations: 494.5 kB / 0.9548 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.2597/1.172, allocations: 4.276 MB / 0.959 GB, free: 231.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/1.172, allocations: 3.375 kB / 0.959 GB, free: 231.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003131/1.175, allocations: 2.042 MB / 0.961 GB, free: 231 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0155/1.191, allocations: 3.46 MB / 0.9644 GB, free: 230.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02129/1.212, allocations: 12.47 MB / 0.9766 GB, free: 224.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004991/1.217, allocations: 4.307 MB / 0.9808 GB, free: 223.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.006204/1.223, allocations: 1.863 MB / 0.9826 GB, free: 223.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/1.225, allocations: 412.6 kB / 0.983 GB, free: 223.1 MB / 0.7169 GB Notification: Performance of SimCode: time 7.92e-07/1.225, allocations: 4 kB / 0.983 GB, free: 223.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.134/1.359, allocations: 111.8 MB / 1.092 GB, free: 126.9 MB / 0.7169 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)