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.001125/0.001125, allocations: 96.14 kB / 15.87 MB, free: 16 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.001118/0.001118, allocations: 199.6 kB / 16.79 MB, free: 6.828 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.322/1.322, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7085/0.7085, allocations: 132.2 MB / 422.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.001091, allocations: 55.59 kB / 0.5017 GB, free: 9.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1795, allocations: 80.21 MB / 0.58 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.3698/0.5494, allocations: 48.97 MB / 0.6278 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01611/0.5656, allocations: 13.8 MB / 0.6413 GB, free: 20.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003077/0.5687, allocations: 66.56 kB / 0.6414 GB, free: 20.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002437/0.5712, allocations: 0.6512 MB / 0.642 GB, free: 20.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006777/0.578, allocations: 2.089 MB / 0.6441 GB, free: 19.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003447/0.5815, allocations: 1.184 MB / 0.6452 GB, free: 18.58 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02401/0.6055, allocations: 25.6 MB / 0.6702 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01477/0.6203, allocations: 8.113 MB / 0.6781 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01371/0.6341, allocations: 5.015 MB / 0.683 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0129/0.647, allocations: 5.608 MB / 0.6885 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.002668/0.6497, allocations: 426.2 kB / 0.6889 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007424/0.6571, allocations: 1.098 MB / 0.69 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003162/0.6603, allocations: 1.624 MB / 0.6916 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.009615/0.67, allocations: 3.747 MB / 0.6952 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01229/0.6823, allocations: 9.754 MB / 0.7048 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.6823, allocations: 4 kB / 0.7048 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6823, allocations: 0 / 0.7048 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000407/0.6827, allocations: 0 / 0.7048 GB, free: 3.75 MB / 0.5137 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.02108/0.7038, allocations: 7.714 MB / 0.7123 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.7039, allocations: 12.03 kB / 0.7123 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004366/0.7083, allocations: 0.7852 MB / 0.7131 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01317/0.7215, allocations: 6.234 MB / 0.7192 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003406/0.7218, allocations: 423 kB / 0.7196 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001878/0.7237, allocations: 0.5428 MB / 0.7201 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01807/0.7418, allocations: 8.068 MB / 0.728 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001371/0.742, allocations: 23.78 kB / 0.728 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007669/0.7428, allocations: 240 kB / 0.7282 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001772/0.743, allocations: 164 kB / 0.7284 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01596/0.7589, allocations: 6.528 MB / 0.7348 GB, free: 4.641 MB / 0.545 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.05458/0.8136, allocations: 31.09 MB / 0.7651 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00639/0.82, allocations: 3.659 MB / 0.7687 GB, free: 64 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004485/0.8245, allocations: 2.807 MB / 0.7714 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/0.8257, allocations: 0.8241 MB / 0.7722 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.841e-05/0.8258, allocations: 68.67 kB / 0.7723 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 5.761e-06/0.8258, allocations: 0 / 0.7723 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.01262/0.8384, allocations: 5.775 MB / 0.778 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.8385, allocations: 81.52 kB / 0.778 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01065/0.8492, allocations: 5.032 MB / 0.7829 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008062/0.85, allocations: 81.7 kB / 0.783 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0031/0.8532, allocations: 2.864 MB / 0.7858 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001804/0.855, allocations: 0.932 MB / 0.7867 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00211/0.8571, allocations: 0.7152 MB / 0.7874 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.8573, allocations: 313 kB / 0.7877 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003234/0.8605, allocations: 1.67 MB / 0.7894 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004187/0.8647, allocations: 2.936 MB / 0.7922 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007115/0.8718, allocations: 4.966 MB / 0.7971 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.55e-05/0.8719, allocations: 12 kB / 0.7971 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009703/0.8816, allocations: 5.442 MB / 0.8024 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.366e-05/0.8817, allocations: 20 kB / 0.8024 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.213e-05/0.8818, allocations: 40 kB / 0.8025 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.8828, allocations: 433 kB / 0.8029 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002962/0.8858, allocations: 0.8541 MB / 0.8037 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00575/0.8916, allocations: 5.256 MB / 0.8088 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005179/0.8968, allocations: 0.6393 MB / 0.8095 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006845/0.8975, allocations: 180 kB / 0.8096 GB, free: 4.301 MB / 0.6231 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.004785/0.9023, allocations: 2.293 MB / 0.8119 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001906/0.9042, allocations: 486.1 kB / 0.8123 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008325/0.9125, allocations: 4.179 MB / 0.8164 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.245e-05/0.9126, allocations: 27.94 kB / 0.8164 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.9126, allocations: 4 kB / 0.8164 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005557/0.9182, allocations: 3.645 MB / 0.82 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02189/0.9401, allocations: 10.2 MB / 0.83 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.876e-05/0.9401, allocations: 8.5 kB / 0.83 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00213/0.9423, allocations: 0.4993 MB / 0.8305 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008899/0.9432, allocations: 375.4 kB / 0.8308 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002399/0.9434, allocations: 75.95 kB / 0.8309 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005572/0.949, allocations: 5.207 MB / 0.836 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.9491, allocations: 7.938 kB / 0.836 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.9592, allocations: 6.247 MB / 0.8421 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003322/0.9626, allocations: 1.08 MB / 0.8431 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001118/0.9637, allocations: 67.98 kB / 0.8432 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00336/0.9671, allocations: 332.2 kB / 0.8435 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003364/0.9674, allocations: 173.6 kB / 0.8437 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002742/0.9677, allocations: 131.9 kB / 0.8438 GB, free: 488 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.005767/0.9735, allocations: 3.683 MB / 0.8474 GB, free: 12.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9735, allocations: 4 kB / 0.8474 GB, free: 12.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006386/0.9799, allocations: 1.785 MB / 0.8492 GB, free: 11.01 MB / 0.67 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.001335/0.9812, allocations: 473.2 kB / 0.8496 GB, free: 10.55 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00668/0.9879, allocations: 4.257 MB / 0.8538 GB, free: 6.258 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/0.988, allocations: 4 kB / 0.8538 GB, free: 6.254 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002798/0.9908, allocations: 2.04 MB / 0.8558 GB, free: 4.184 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01436/1.005, allocations: 3.278 MB / 0.859 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3108/1.316, allocations: 14.93 MB / 0.8735 GB, free: 197.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003135/1.319, allocations: 4.232 MB / 0.8777 GB, free: 196.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001882/1.321, allocations: 444.8 kB / 0.8781 GB, free: 196.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.523e-06/1.321, allocations: 0 / 0.8781 GB, free: 196.3 MB / 0.67 GB Notification: Performance of Templates: time 0.2318/1.553, allocations: 172.5 MB / 1.047 GB, free: 65.34 MB / 0.67 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