Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006131/0.006132, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001177/0.001177, allocations: 192.6 kB / 16.79 MB, free: 5.809 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.342/1.342, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7434/0.7434, allocations: 132.2 MB / 422.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 60.03 kB / 0.5017 GB, free: 4.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4564/0.4577, allocations: 80.21 MB / 0.58 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05633/0.5141, allocations: 55.64 MB / 0.6344 GB, free: 9.988 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02333/0.5374, allocations: 17.91 MB / 0.6519 GB, free: 8.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003828/0.5413, allocations: 67.62 kB / 0.6519 GB, free: 7.953 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002398/0.5437, allocations: 0.7224 MB / 0.6526 GB, free: 7.227 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007602/0.5514, allocations: 2.325 MB / 0.6549 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003987/0.5554, allocations: 1.377 MB / 0.6562 GB, free: 3.527 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02437/0.5798, allocations: 27.78 MB / 0.6834 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01085/0.5907, allocations: 8.717 MB / 0.6919 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01183/0.6025, allocations: 5.545 MB / 0.6973 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01152/0.6141, allocations: 6.193 MB / 0.7033 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001713/0.6158, allocations: 472 kB / 0.7038 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005201/0.621, allocations: 1.158 MB / 0.7049 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002003/0.623, allocations: 1.79 MB / 0.7067 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.008376/0.6314, allocations: 4.121 MB / 0.7107 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.6439, allocations: 10.64 MB / 0.7211 GB, free: 0.832 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.644, allocations: 0 / 0.7211 GB, free: 0.832 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.833e-06/0.644, allocations: 0 / 0.7211 GB, free: 0.832 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000446/0.6445, allocations: 4 kB / 0.7211 GB, free: 0.8281 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02091/0.6654, allocations: 8.499 MB / 0.7294 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.6654, allocations: 8.031 kB / 0.7294 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002993/0.6684, allocations: 0.8548 MB / 0.7302 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01235/0.6808, allocations: 6.621 MB / 0.7367 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003519/0.6812, allocations: 456.2 kB / 0.7371 GB, free: 240 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00166/0.6829, allocations: 0.5975 MB / 0.7377 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01896/0.7018, allocations: 9.021 MB / 0.7465 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/0.702, allocations: 23.77 kB / 0.7465 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007036/0.7027, allocations: 264 kB / 0.7468 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001698/0.7029, allocations: 187.9 kB / 0.747 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/0.717, allocations: 7.434 MB / 0.7542 GB, free: 14.38 MB / 0.5919 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.05342/0.7705, allocations: 35.91 MB / 0.7893 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007962/0.7785, allocations: 4.276 MB / 0.7935 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005626/0.7842, allocations: 3.308 MB / 0.7967 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001395/0.7856, allocations: 0.9582 MB / 0.7976 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004659/0.7903, allocations: 2.386 MB / 0.8 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003632/0.794, allocations: 447.8 kB / 0.8004 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=317): time 1.487e-05/0.794, allocations: 0 / 0.8004 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317): time 0.01575/0.8098, allocations: 7.101 MB / 0.8073 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/0.8099, allocations: 89.91 kB / 0.8074 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01216/0.822, allocations: 5.455 MB / 0.8128 GB, free: 92 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.3566/1.179, allocations: 87.78 kB / 0.8128 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00482/1.184, allocations: 3.197 MB / 0.816 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001879/1.185, allocations: 1.113 MB / 0.817 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001394/1.187, allocations: 0.855 MB / 0.8179 GB, free: 199.9 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.567e-05/1.187, allocations: 306.8 kB / 0.8182 GB, free: 199.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003755/1.191, allocations: 2.151 MB / 0.8203 GB, free: 198.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004669/1.195, allocations: 3.695 MB / 0.8239 GB, free: 196.3 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008439/1.204, allocations: 6.298 MB / 0.83 GB, free: 192.4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.84e-05/1.204, allocations: 14.88 kB / 0.83 GB, free: 192.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01195/1.216, allocations: 6.758 MB / 0.8366 GB, free: 189.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.029e-05/1.216, allocations: 56.41 kB / 0.8367 GB, free: 189.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.26e-05/1.216, allocations: 48.5 kB / 0.8367 GB, free: 189.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/1.217, allocations: 431 kB / 0.8372 GB, free: 189.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003566/1.221, allocations: 1.006 MB / 0.8381 GB, free: 189.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004847/1.226, allocations: 5.262 MB / 0.8433 GB, free: 185.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005622/1.231, allocations: 470.2 kB / 0.8437 GB, free: 185.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007233/1.232, allocations: 214.2 kB / 0.8439 GB, free: 185.7 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.004212/1.236, allocations: 2.483 MB / 0.8464 GB, free: 184.6 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001475/1.238, allocations: 0.5282 MB / 0.8469 GB, free: 184.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007333/1.245, allocations: 5.238 MB / 0.852 GB, free: 181.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.243e-05/1.245, allocations: 33.84 kB / 0.852 GB, free: 181.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/1.245, allocations: 3.688 kB / 0.852 GB, free: 181.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005183/1.25, allocations: 4.527 MB / 0.8564 GB, free: 179.3 MB / 0.6387 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 postOpt removeSimpleEquations (simulation): time 0.01818/1.268, allocations: 11.96 MB / 0.8681 GB, free: 167.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/1.268, allocations: 0 / 0.8681 GB, free: 167.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002359/1.271, allocations: 0.6477 MB / 0.8688 GB, free: 167.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007388/1.272, allocations: 376.5 kB / 0.8691 GB, free: 166.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001904/1.272, allocations: 87.94 kB / 0.8692 GB, free: 166.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003915/1.276, allocations: 5.179 MB / 0.8743 GB, free: 161.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.276, allocations: 7.938 kB / 0.8743 GB, free: 161.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009544/1.285, allocations: 7.605 MB / 0.8817 GB, free: 153.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003352/1.289, allocations: 1.127 MB / 0.8828 GB, free: 152.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001194/1.29, allocations: 71.88 kB / 0.8829 GB, free: 152.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003737/1.294, allocations: 474.2 kB / 0.8833 GB, free: 151.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003801/1.294, allocations: 202.2 kB / 0.8835 GB, free: 151.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002572/1.294, allocations: 139.9 kB / 0.8836 GB, free: 151.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004817/1.299, allocations: 3.807 MB / 0.8874 GB, free: 147.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.3e-07/1.299, allocations: 0 / 0.8874 GB, free: 147.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006396/1.306, allocations: 1.986 MB / 0.8893 GB, free: 145.8 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.001256/1.307, allocations: 485.4 kB / 0.8898 GB, free: 145.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006825/1.314, allocations: 5.373 MB / 0.895 GB, free: 140 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.314, allocations: 1.812 kB / 0.895 GB, free: 140 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002857/1.317, allocations: 2.502 MB / 0.8974 GB, free: 137.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01394/1.33, allocations: 3.223 MB / 0.9006 GB, free: 134.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02194/1.352, allocations: 16.51 MB / 0.9167 GB, free: 117.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003267/1.356, allocations: 4.552 MB / 0.9212 GB, free: 113.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002107/1.358, allocations: 491.2 kB / 0.9216 GB, free: 112.7 MB / 0.6387 GB Notification: Performance of SimCode: time 1.293e-06/1.358, allocations: 0 / 0.9216 GB, free: 112.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.5415/1.899, allocations: 185.8 MB / 1.103 GB, free: 200 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.StratifiedLoadingUnloadingCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.o] Error 1