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.000944/0.0009441, allocations: 98.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 187.1 kB / 16.92 MB, free: 6.75 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.377/1.377, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001747/0.001747, allocations: 270.6 kB / 292.3 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9757/0.9757, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004302/0.0004302, allocations: 13.53 kB / 0.5993 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1832, allocations: 88.55 MB / 0.6858 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05252/0.2357, allocations: 47.95 MB / 0.7326 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02033/0.2561, allocations: 13.69 MB / 0.746 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003096/0.2592, allocations: 59.62 kB / 0.746 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002756/0.262, allocations: 0.6447 MB / 0.7466 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007555/0.2696, allocations: 2.096 MB / 0.7487 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003728/0.2734, allocations: 1.181 MB / 0.7498 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.3959/0.6692, allocations: 25.63 MB / 0.7749 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01338/0.6826, allocations: 7.817 MB / 0.7825 GB, free: 24.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01208/0.6947, allocations: 4.701 MB / 0.7871 GB, free: 24.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0122/0.707, allocations: 5.217 MB / 0.7922 GB, free: 23.39 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002263/0.7092, allocations: 301.7 kB / 0.7925 GB, free: 23.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006323/0.7156, allocations: 0.986 MB / 0.7934 GB, free: 23.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003198/0.7188, allocations: 1.432 MB / 0.7948 GB, free: 23.13 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.008388/0.7272, allocations: 3.53 MB / 0.7983 GB, free: 22.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.7374, allocations: 9.525 MB / 0.8076 GB, free: 19.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.7375, allocations: 2.812 kB / 0.8076 GB, free: 19.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7375, allocations: 4 kB / 0.8076 GB, free: 19.87 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004591/0.7379, allocations: 0 / 0.8076 GB, free: 19.87 MB / 0.5606 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.01407/0.752, allocations: 6.231 MB / 0.8137 GB, free: 16.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.7521, allocations: 10.69 kB / 0.8137 GB, free: 16.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004167/0.7563, allocations: 0.7863 MB / 0.8145 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01277/0.769, allocations: 6.238 MB / 0.8205 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004368/0.7695, allocations: 413.9 kB / 0.8209 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002035/0.7716, allocations: 0.5438 MB / 0.8215 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02033/0.7919, allocations: 8.078 MB / 0.8294 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002905/0.7922, allocations: 13.91 kB / 0.8294 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001763/0.794, allocations: 235.9 kB / 0.8296 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002326/0.7943, allocations: 167 kB / 0.8298 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01476/0.809, allocations: 6.526 MB / 0.8361 GB, free: 3.102 MB / 0.5606 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.05158/0.8606, allocations: 31.18 MB / 0.8666 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006491/0.8672, allocations: 3.647 MB / 0.8701 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004607/0.8718, allocations: 2.823 MB / 0.8729 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/0.8729, allocations: 0.8382 MB / 0.8737 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.214e-05/0.873, allocations: 72.61 kB / 0.8738 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=267): time 5.15e-06/0.873, allocations: 0 / 0.8738 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=267): time 0.01304/0.886, allocations: 5.787 MB / 0.8794 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.8861, allocations: 77.52 kB / 0.8795 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01192/0.8981, allocations: 5.028 MB / 0.8844 GB, free: 168 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0008735/0.899, allocations: 81.7 kB / 0.8845 GB, free: 80 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.003259/0.9022, allocations: 2.871 MB / 0.8873 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001836/0.9041, allocations: 0.9372 MB / 0.8882 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000971/0.9051, allocations: 305.6 kB / 0.8885 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.9052, allocations: 309.1 kB / 0.8888 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003306/0.9085, allocations: 1.674 MB / 0.8904 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004273/0.9128, allocations: 2.933 MB / 0.8933 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007725/0.9206, allocations: 4.966 MB / 0.8981 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.825e-05/0.9206, allocations: 12 kB / 0.8982 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01184/0.9325, allocations: 5.439 MB / 0.9035 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.377e-05/0.9326, allocations: 24 kB / 0.9035 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.736e-05/0.9327, allocations: 43.98 kB / 0.9035 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.9338, allocations: 419.7 kB / 0.9039 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003202/0.937, allocations: 0.8619 MB / 0.9048 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006138/0.9431, allocations: 5.251 MB / 0.9099 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006525/0.9497, allocations: 0.6471 MB / 0.9105 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009853/0.9507, allocations: 180 kB / 0.9107 GB, free: 4.02 MB / 0.6387 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.005843/0.9565, allocations: 2.288 MB / 0.9129 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002009/0.9586, allocations: 486.2 kB / 0.9134 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008991/0.9676, allocations: 4.19 MB / 0.9175 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.367e-05/0.9677, allocations: 28 kB / 0.9175 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.212e-05/0.9677, allocations: 4 kB / 0.9175 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006499/0.9742, allocations: 3.635 MB / 0.9211 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02544/0.9997, allocations: 10.22 MB / 0.9311 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/0.9997, allocations: 4 kB / 0.9311 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002243/1.002, allocations: 0.4998 MB / 0.9316 GB, free: 14.39 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000891/1.003, allocations: 374.6 kB / 0.9319 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003363/1.003, allocations: 75.97 kB / 0.932 GB, free: 13.94 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005675/1.009, allocations: 5.208 MB / 0.9371 GB, free: 8.477 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.009, allocations: 4 kB / 0.9371 GB, free: 8.473 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/1.02, allocations: 6.244 MB / 0.9432 GB, free: 2.062 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003679/1.024, allocations: 1.166 MB / 0.9443 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001616/1.026, allocations: 67.92 kB / 0.9444 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004508/1.03, allocations: 325.4 kB / 0.9447 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003914/1.03, allocations: 177.6 kB / 0.9449 GB, free: 324 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004105/1.031, allocations: 135.9 kB / 0.945 GB, free: 188 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.008191/1.039, allocations: 3.688 MB / 0.9486 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.81e-07/1.039, allocations: 0 / 0.9486 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.008003/1.047, allocations: 1.773 MB / 0.9503 GB, free: 10.73 MB / 0.6856 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.001843/1.049, allocations: 482.6 kB / 0.9508 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008155/1.057, allocations: 4.262 MB / 0.9549 GB, free: 5.992 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/1.057, allocations: 4 kB / 0.9549 GB, free: 5.988 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003623/1.061, allocations: 2.044 MB / 0.9569 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02261/1.083, allocations: 3.28 MB / 0.9601 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03176/1.115, allocations: 15.16 MB / 0.9749 GB, free: 1.473 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007785/1.123, allocations: 4.239 MB / 0.9791 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0023/1.125, allocations: 435.3 kB / 0.9795 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of SimCode: time 1.783e-06/1.125, allocations: 0 / 0.9795 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of Templates: time 0.6037/1.729, allocations: 171.6 MB / 1.147 GB, free: 224.9 MB / 0.7794 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitialCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitialCalcHelperMain.o] Error 1