Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.00115/0.00115, allocations: 99.59 kB / 15.71 MB, free: 452 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.001339/0.001339, allocations: 173.6 kB / 16.58 MB, free: 6.422 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.56/1.56, allocations: 223.2 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.127/1.127, allocations: 143.4 MB / 435.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003501, allocations: 15.98 kB / 0.5166 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2149, allocations: 83.41 MB / 0.5981 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.5091/0.7241, allocations: 51.52 MB / 0.6484 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02269/0.7468, allocations: 16.83 MB / 0.6648 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003973/0.7509, allocations: 68 kB / 0.6649 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003269/0.7542, allocations: 0.6275 MB / 0.6655 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009454/0.7637, allocations: 1.991 MB / 0.6674 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004855/0.7685, allocations: 1.088 MB / 0.6685 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.03811/0.8067, allocations: 23.62 MB / 0.6916 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01836/0.8251, allocations: 7.14 MB / 0.6985 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01767/0.8428, allocations: 5.298 MB / 0.7037 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01598/0.8588, allocations: 5.494 MB / 0.7091 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002965/0.8618, allocations: 344 kB / 0.7094 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01015/0.872, allocations: 0.7802 MB / 0.7102 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.006086/0.8781, allocations: 1.522 MB / 0.7116 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.008547/0.8867, allocations: 1.615 MB / 0.7132 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01909/0.9058, allocations: 10.99 MB / 0.7239 GB, free: 11.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.9059, allocations: 4 kB / 0.724 GB, free: 11.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.336e-06/0.9059, allocations: 0 / 0.724 GB, free: 11.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0006171/0.9065, allocations: 0 / 0.724 GB, free: 11.16 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.01984/0.9264, allocations: 6.967 MB / 0.7308 GB, free: 4.102 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.9264, allocations: 8.031 kB / 0.7308 GB, free: 4.094 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005769/0.9322, allocations: 0.8577 MB / 0.7316 GB, free: 3.227 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01531/0.9475, allocations: 6.478 MB / 0.7379 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004915/0.9481, allocations: 460.2 kB / 0.7384 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002703/0.9508, allocations: 0.6014 MB / 0.739 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0226/0.9734, allocations: 8.989 MB / 0.7477 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001637/0.9736, allocations: 19.88 kB / 0.7478 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008652/0.9745, allocations: 256 kB / 0.748 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000185/0.9747, allocations: 176 kB / 0.7482 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01763/0.9923, allocations: 7.418 MB / 0.7554 GB, free: 10.46 MB / 0.5762 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.06013/1.052, allocations: 35.99 MB / 0.7905 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006034/1.059, allocations: 4.268 MB / 0.7947 GB, free: 156 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004665/1.063, allocations: 3.379 MB / 0.798 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/1.065, allocations: 0.9895 MB / 0.799 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003776/1.068, allocations: 2.375 MB / 0.8013 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003088/1.071, allocations: 447.8 kB / 0.8017 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 6.562e-06/1.071, allocations: 0 / 0.8017 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01273/1.084, allocations: 7.094 MB / 0.8087 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.864e-05/1.084, allocations: 85.91 kB / 0.8087 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009452/1.094, allocations: 5.416 MB / 0.814 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001379/1.095, allocations: 85.7 kB / 0.8141 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.004608/1.1, allocations: 3.2 MB / 0.8172 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002869/1.103, allocations: 1.121 MB / 0.8183 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00041/1.103, allocations: 88 kB / 0.8184 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000527/1.104, allocations: 491.6 kB / 0.8189 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004545/1.108, allocations: 2.14 MB / 0.821 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005852/1.114, allocations: 3.677 MB / 0.8246 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006558/1.121, allocations: 2.904 MB / 0.8274 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001035/1.121, allocations: 16 kB / 0.8274 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.017/1.138, allocations: 6.725 MB / 0.834 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/1.138, allocations: 53.7 kB / 0.834 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/1.138, allocations: 55.94 kB / 0.8341 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/1.139, allocations: 437.7 kB / 0.8345 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004044/1.143, allocations: 1.014 MB / 0.8355 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006487/1.15, allocations: 5.246 MB / 0.8406 GB, free: 15.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006409/1.156, allocations: 470.8 kB / 0.8411 GB, free: 15.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001099/1.157, allocations: 216 kB / 0.8413 GB, free: 15.02 MB / 0.67 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006367/1.164, allocations: 2.485 MB / 0.8437 GB, free: 12.53 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002369/1.166, allocations: 0.5287 MB / 0.8442 GB, free: 11.99 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/1.178, allocations: 5.239 MB / 0.8493 GB, free: 6.711 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.678e-05/1.179, allocations: 28 kB / 0.8494 GB, free: 6.684 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.47e-05/1.179, allocations: 7.984 kB / 0.8494 GB, free: 6.676 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007606/1.186, allocations: 4.524 MB / 0.8538 GB, free: 2.047 MB / 0.67 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.5044/1.691, allocations: 11.97 MB / 0.8655 GB, free: 187.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/1.691, allocations: 0 / 0.8655 GB, free: 187.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002512/1.693, allocations: 0.6514 MB / 0.8661 GB, free: 187.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008127/1.694, allocations: 369.2 kB / 0.8665 GB, free: 187.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002451/1.694, allocations: 87.78 kB / 0.8665 GB, free: 187.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004608/1.699, allocations: 5.173 MB / 0.8716 GB, free: 184 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.699, allocations: 3.938 kB / 0.8716 GB, free: 184 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01239/1.711, allocations: 7.597 MB / 0.879 GB, free: 181.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004446/1.716, allocations: 1.231 MB / 0.8802 GB, free: 180.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001942/1.718, allocations: 65.97 kB / 0.8803 GB, free: 180.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005105/1.723, allocations: 465.5 kB / 0.8807 GB, free: 180.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005899/1.724, allocations: 199.9 kB / 0.8809 GB, free: 180.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004588/1.724, allocations: 140.8 kB / 0.881 GB, free: 180.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.008644/1.733, allocations: 3.761 MB / 0.8847 GB, free: 179.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.01e-07/1.733, allocations: 0 / 0.8847 GB, free: 179.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01275/1.745, allocations: 1.98 MB / 0.8867 GB, free: 179 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00219/1.748, allocations: 483.9 kB / 0.8871 GB, free: 178.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01182/1.76, allocations: 5.365 MB / 0.8924 GB, free: 176.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.55e-05/1.76, allocations: 3.188 kB / 0.8924 GB, free: 176.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005293/1.765, allocations: 2.495 MB / 0.8948 GB, free: 175.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02072/1.786, allocations: 3.239 MB / 0.898 GB, free: 175.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0446/1.83, allocations: 16.21 MB / 0.9138 GB, free: 167 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009743/1.84, allocations: 4.552 MB / 0.9182 GB, free: 165.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003275/1.843, allocations: 485.4 kB / 0.9187 GB, free: 165.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.623e-06/1.843, allocations: 0 / 0.9187 GB, free: 165.4 MB / 0.67 GB Notification: Performance of Templates: time 0.2735/2.117, allocations: 185.3 MB / 1.1 GB, free: 8.805 MB / 0.6856 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.o] Error 1