Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008/0.0007999, allocations: 84.08 kB / 16.01 MB, free: 92 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.0008493/0.0008492, allocations: 185.9 kB / 16.92 MB, free: 6.289 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.287/1.287, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7175/0.7175, allocations: 132.3 MB / 424.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.000393, allocations: 13 kB / 0.5046 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4358, allocations: 81.57 MB / 0.5843 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04355/0.4794, allocations: 47.97 MB / 0.6311 GB, free: 15.43 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01811/0.4975, allocations: 13.65 MB / 0.6445 GB, free: 2.68 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002698/0.5003, allocations: 59.62 kB / 0.6445 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002232/0.5025, allocations: 0.6564 MB / 0.6452 GB, free: 1.961 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007563/0.5101, allocations: 2.084 MB / 0.6472 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00323/0.5133, allocations: 1.185 MB / 0.6483 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02458/0.5379, allocations: 25.59 MB / 0.6733 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0106/0.5486, allocations: 7.86 MB / 0.681 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01015/0.5588, allocations: 4.715 MB / 0.6856 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009583/0.5684, allocations: 5.227 MB / 0.6907 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001447/0.5699, allocations: 300 kB / 0.691 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005416/0.5753, allocations: 0.9866 MB / 0.692 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002885/0.5782, allocations: 1.424 MB / 0.6934 GB, free: 376 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.007464/0.5857, allocations: 3.539 MB / 0.6968 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.5966, allocations: 9.512 MB / 0.7061 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.5966, allocations: 4 kB / 0.7061 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.494e-06/0.5966, allocations: 4 kB / 0.7061 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003874/0.597, allocations: 3.938 kB / 0.7061 GB, free: 3.258 MB / 0.5294 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.01322/0.6103, allocations: 6.229 MB / 0.7122 GB, free: 12.95 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.6103, allocations: 8.031 kB / 0.7122 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003503/0.6138, allocations: 0.7891 MB / 0.713 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01046/0.6243, allocations: 6.247 MB / 0.7191 GB, free: 5.844 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002891/0.6246, allocations: 415.1 kB / 0.7195 GB, free: 5.438 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001199/0.6258, allocations: 0.5428 MB / 0.72 GB, free: 4.895 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01524/0.6411, allocations: 8.061 MB / 0.7279 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001384/0.6413, allocations: 19.88 kB / 0.7279 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007091/0.642, allocations: 236 kB / 0.7281 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001693/0.6422, allocations: 163.9 kB / 0.7283 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/0.6544, allocations: 6.528 MB / 0.7346 GB, free: 5.648 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.0462/0.7006, allocations: 31.17 MB / 0.7651 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006132/0.7068, allocations: 3.651 MB / 0.7687 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004392/0.7112, allocations: 2.823 MB / 0.7714 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/0.7123, allocations: 0.8397 MB / 0.7722 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.949e-05/0.7124, allocations: 72.67 kB / 0.7723 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=267): time 4.338e-06/0.7125, allocations: 0 / 0.7723 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=267): time 0.01241/0.7249, allocations: 5.79 MB / 0.778 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.725, allocations: 77.52 kB / 0.778 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01103/0.736, allocations: 5.021 MB / 0.7829 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0007748/0.7368, allocations: 77.7 kB / 0.783 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.003055/0.7399, allocations: 2.876 MB / 0.7858 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001677/0.7416, allocations: 0.9359 MB / 0.7867 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008888/0.7425, allocations: 301.6 kB / 0.787 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.7427, allocations: 321 kB / 0.7873 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003162/0.7458, allocations: 1.67 MB / 0.789 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004039/0.7499, allocations: 2.94 MB / 0.7918 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007315/0.7572, allocations: 4.966 MB / 0.7967 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.696e-05/0.7573, allocations: 12 kB / 0.7967 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0109/0.7682, allocations: 5.433 MB / 0.802 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.712e-05/0.7683, allocations: 24 kB / 0.802 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-05/0.7684, allocations: 43.94 kB / 0.8021 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.7695, allocations: 421.8 kB / 0.8025 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003077/0.7726, allocations: 0.8619 MB / 0.8033 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005776/0.7783, allocations: 5.255 MB / 0.8084 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005691/0.7841, allocations: 0.6432 MB / 0.8091 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008101/0.7849, allocations: 187.9 kB / 0.8092 GB, free: 5.59 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.005179/0.7901, allocations: 2.278 MB / 0.8115 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001907/0.792, allocations: 490.2 kB / 0.8119 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3645/1.157, allocations: 4.173 MB / 0.816 GB, free: 199.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.161e-05/1.157, allocations: 30.3 kB / 0.816 GB, free: 199.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/1.157, allocations: 5.844 kB / 0.816 GB, free: 199.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006376/1.163, allocations: 3.631 MB / 0.8196 GB, free: 198.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01916/1.182, allocations: 10.21 MB / 0.8296 GB, free: 194.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/1.182, allocations: 4.312 kB / 0.8296 GB, free: 194.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001936/1.184, allocations: 0.5018 MB / 0.83 GB, free: 194.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007983/1.185, allocations: 371.6 kB / 0.8304 GB, free: 194.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/1.185, allocations: 79.23 kB / 0.8305 GB, free: 194.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004565/1.19, allocations: 5.202 MB / 0.8356 GB, free: 191 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/1.19, allocations: 9.375 kB / 0.8356 GB, free: 190.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/1.2, allocations: 6.252 MB / 0.8417 GB, free: 188.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002985/1.203, allocations: 1.164 MB / 0.8428 GB, free: 187.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001087/1.204, allocations: 66.67 kB / 0.8429 GB, free: 187.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003457/1.208, allocations: 332.1 kB / 0.8432 GB, free: 187.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003263/1.208, allocations: 174 kB / 0.8434 GB, free: 187.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002879/1.208, allocations: 132 kB / 0.8435 GB, free: 187.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004994/1.213, allocations: 3.688 MB / 0.8471 GB, free: 185.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.6e-07/1.213, allocations: 0 / 0.8471 GB, free: 185.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005506/1.219, allocations: 1.784 MB / 0.8488 GB, free: 185.3 MB / 0.6387 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.001163/1.22, allocations: 461.9 kB / 0.8493 GB, free: 185.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005433/1.225, allocations: 4.255 MB / 0.8534 GB, free: 182.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/1.226, allocations: 3.75 kB / 0.8534 GB, free: 182.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002324/1.228, allocations: 2.05 MB / 0.8554 GB, free: 181.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0197/1.248, allocations: 3.282 MB / 0.8586 GB, free: 178.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02209/1.27, allocations: 15.16 MB / 0.8734 GB, free: 163.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004394/1.274, allocations: 4.231 MB / 0.8776 GB, free: 159 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001692/1.276, allocations: 447.2 kB / 0.878 GB, free: 158.6 MB / 0.6387 GB Notification: Performance of SimCode: time 1.032e-06/1.276, allocations: 2.625 kB / 0.878 GB, free: 158.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.1687/1.445, allocations: 171.6 MB / 1.046 GB, free: 3.395 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitialCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitialCalcHelperMain.o] Error 1