Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, 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.00107/0.00107, allocations: 193.9 kB / 16.79 MB, free: 6.812 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.784/0.784, allocations: 132.2 MB / 422.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 58.89 kB / 0.5017 GB, free: 4.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4211, allocations: 80.2 MB / 0.58 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.2699/0.691, allocations: 240.5 MB / 0.8149 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.4607/1.152, allocations: 16.06 MB / 0.8305 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003579/1.155, allocations: 76.05 kB / 0.8306 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003072/1.158, allocations: 1.024 MB / 0.8316 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01078/1.169, allocations: 3.596 MB / 0.8351 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005548/1.175, allocations: 1.612 MB / 0.8367 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0109/1.186, allocations: 7.417 MB / 0.8439 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00253/1.188, allocations: 1.418 MB / 0.8453 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006374/1.195, allocations: 2.334 MB / 0.8476 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005259/1.2, allocations: 1.779 MB / 0.8493 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004337/1.2, allocations: 98.31 kB / 0.8494 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006632/1.207, allocations: 3.15 MB / 0.8525 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001107/1.208, allocations: 0.7002 MB / 0.8532 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002265/1.21, allocations: 1.066 MB / 0.8542 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003825/1.214, allocations: 2.617 MB / 0.8568 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.214, allocations: 0 / 0.8568 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.864e-06/1.214, allocations: 4 kB / 0.8568 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.803e-05/1.214, allocations: 1.094 kB / 0.8568 GB, free: 1.293 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.004166/1.219, allocations: 2.493 MB / 0.8592 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/1.219, allocations: 8.5 kB / 0.8592 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002954/1.222, allocations: 0.5033 MB / 0.8597 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/1.224, allocations: 1.274 MB / 0.861 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/1.224, allocations: 177.8 kB / 0.8611 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/1.224, allocations: 149.6 kB / 0.8613 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002611/1.226, allocations: 1.741 MB / 0.863 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/1.227, allocations: 0 / 0.863 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/1.227, allocations: 61.78 kB / 0.863 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.777e-05/1.227, allocations: 66.42 kB / 0.8631 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/1.229, allocations: 1.366 MB / 0.8644 GB, free: 15.23 MB / 0.6544 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.009347/1.238, allocations: 8.183 MB / 0.8724 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/1.24, allocations: 0.9012 MB / 0.8733 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007708/1.241, allocations: 0.5349 MB / 0.8738 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006002/1.241, allocations: 319.3 kB / 0.8741 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/1.241, allocations: 51.5 kB / 0.8742 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=96): time 3.006e-06/1.241, allocations: 0 / 0.8742 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of matching and sorting (n=102): time 0.006742/1.248, allocations: 3.108 MB / 0.8772 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/1.248, allocations: 63.38 kB / 0.8773 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/1.249, allocations: 1.263 MB / 0.8785 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.16e-05/1.25, allocations: 51.02 kB / 0.8786 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000504/1.25, allocations: 0.8068 MB / 0.8794 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/1.25, allocations: 369 kB / 0.8797 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003064/1.251, allocations: 223.8 kB / 0.8799 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.251, allocations: 360.4 kB / 0.8803 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007503/1.252, allocations: 446.2 kB / 0.8807 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/1.253, allocations: 0.8325 MB / 0.8815 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/1.254, allocations: 1.247 MB / 0.8827 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.254, allocations: 3.188 kB / 0.8827 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002333/1.257, allocations: 1.4 MB / 0.8841 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/1.257, allocations: 14.34 kB / 0.8841 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/1.257, allocations: 11.25 kB / 0.8841 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-05/1.257, allocations: 20.81 kB / 0.8841 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/1.258, allocations: 271.1 kB / 0.8844 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/1.258, allocations: 21.67 kB / 0.8844 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/1.26, allocations: 163.2 kB / 0.8846 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-05/1.26, allocations: 53.62 kB / 0.8846 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001364/1.261, allocations: 0.7659 MB / 0.8854 GB, free: 7.145 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000988/1.262, allocations: 0.825 MB / 0.8862 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001673/1.264, allocations: 1.233 MB / 0.8874 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.47e-06/1.264, allocations: 3.344 kB / 0.8874 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002299/1.266, allocations: 1.386 MB / 0.8887 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/1.266, allocations: 12 kB / 0.8887 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.266, allocations: 10.22 kB / 0.8888 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/1.266, allocations: 12.97 kB / 0.8888 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/1.267, allocations: 280.7 kB / 0.889 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.107e-05/1.267, allocations: 22.5 kB / 0.8891 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/1.269, allocations: 158 kB / 0.8892 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.033e-05/1.269, allocations: 59.94 kB / 0.8893 GB, free: 5.945 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000379/1.269, allocations: 269.5 kB / 0.8895 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/1.27, allocations: 167.5 kB / 0.8897 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/1.272, allocations: 1.151 MB / 0.8908 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/1.272, allocations: 11.25 kB / 0.8908 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.272, allocations: 0 / 0.8908 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001618/1.273, allocations: 1.072 MB / 0.8919 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004579/1.278, allocations: 2.779 MB / 0.8946 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/1.278, allocations: 2.75 kB / 0.8946 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/1.279, allocations: 250.5 kB / 0.8948 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/1.279, allocations: 8.719 kB / 0.8948 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.366e-05/1.279, allocations: 28.31 kB / 0.8949 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/1.279, allocations: 11.92 kB / 0.8949 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.279, allocations: 3.219 kB / 0.8949 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00263/1.282, allocations: 1.81 MB / 0.8966 GB, free: 3.531 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007356/1.283, allocations: 337.4 kB / 0.897 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/1.283, allocations: 24.12 kB / 0.897 GB, free: 3.312 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/1.284, allocations: 144 kB / 0.8971 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/1.284, allocations: 63.47 kB / 0.8972 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.439e-05/1.284, allocations: 42.67 kB / 0.8972 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001098/1.285, allocations: 0.8449 MB / 0.898 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/1.285, allocations: 0 / 0.898 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00216/1.288, allocations: 0.7663 MB / 0.8988 GB, free: 2.402 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * 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 (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005896/1.288, allocations: 278.6 kB / 0.8991 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003019/1.291, allocations: 1.722 MB / 0.9007 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.291, allocations: 0 / 0.9007 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008164/1.292, allocations: 0.5285 MB / 0.9013 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004148/1.296, allocations: 0.9559 MB / 0.9022 GB, free: 15.84 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005857/1.302, allocations: 4.243 MB / 0.9063 GB, free: 11.89 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009869/1.303, allocations: 1.448 MB / 0.9077 GB, free: 10.46 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005181/1.304, allocations: 134.9 kB / 0.9079 GB, free: 10.33 MB / 0.67 GB Notification: Performance of SimCode: time 5.41e-07/1.304, allocations: 0 / 0.9079 GB, free: 10.33 MB / 0.67 GB Notification: Performance of Templates: time 0.0392/1.343, allocations: 26.86 MB / 0.9341 GB, free: 132 kB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.makefile make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolumes.Validation.MixingVolumeCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeCalcHelperMain.o] Error 1