Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01029/0.01029, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.002907/0.002907, allocations: 190.1 kB / 16.79 MB, free: 6.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.631/2.631, allocations: 222.9 MB / 240.5 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003577/0.003577, allocations: 290.8 kB / 290.9 MB, free: 2.047 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.681/1.681, allocations: 169.2 MB / 0.4983 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003095/0.003095, allocations: 93.94 kB / 0.5951 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3608, allocations: 86.98 MB / 0.6801 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 1.292/1.653, allocations: 188.2 MB / 0.8639 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02273/1.675, allocations: 5.763 MB / 0.8695 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004559/1.68, allocations: 36.06 kB / 0.8695 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00441/1.684, allocations: 0.4932 MB / 0.87 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01157/1.696, allocations: 1.725 MB / 0.8717 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006933/1.703, allocations: 1.072 MB / 0.8727 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009979/1.713, allocations: 4.097 MB / 0.8767 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00355/1.717, allocations: 0.9574 MB / 0.8777 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004335/1.721, allocations: 0.9089 MB / 0.8786 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005157/1.726, allocations: 0.9909 MB / 0.8795 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007954/1.727, allocations: 60.44 kB / 0.8796 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007977/1.735, allocations: 1.644 MB / 0.8812 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002023/1.737, allocations: 0.5082 MB / 0.8817 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003763/1.741, allocations: 0.6637 MB / 0.8823 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006206/1.747, allocations: 1.759 MB / 0.8841 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.067e-05/1.747, allocations: 0 / 0.8841 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.835e-06/1.747, allocations: 0 / 0.8841 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001208/1.747, allocations: 0 / 0.8841 GB, free: 4.484 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.008304/1.756, allocations: 1.616 MB / 0.8856 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.426e-05/1.756, allocations: 10.62 kB / 0.8857 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004972/1.761, allocations: 334.8 kB / 0.886 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004146/1.765, allocations: 0.8672 MB / 0.8868 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/1.765, allocations: 78.53 kB / 0.8869 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005797/1.766, allocations: 105 kB / 0.887 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005911/1.772, allocations: 1.095 MB / 0.8881 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.481e-05/1.772, allocations: 0 / 0.8881 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000408/1.772, allocations: 42.06 kB / 0.8881 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001227/1.773, allocations: 37.28 kB / 0.8881 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003992/1.777, allocations: 0.9967 MB / 0.8891 GB, free: 1.262 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.01479/1.791, allocations: 4.245 MB / 0.8933 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/1.793, allocations: 0.5927 MB / 0.8938 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/1.794, allocations: 352.9 kB / 0.8942 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003636/1.795, allocations: 101.5 kB / 0.8943 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.372e-05/1.795, allocations: 47 kB / 0.8943 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 4.028e-06/1.795, allocations: 0 / 0.8943 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.008801/1.804, allocations: 2.201 MB / 0.8965 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/1.804, allocations: 55.97 kB / 0.8965 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002591/1.806, allocations: 0.8842 MB / 0.8974 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001649/1.807, allocations: 41.7 kB / 0.8974 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007422/1.807, allocations: 0.5107 MB / 0.8979 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004589/1.808, allocations: 205.1 kB / 0.8981 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004537/1.808, allocations: 134.5 kB / 0.8982 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002255/1.809, allocations: 334 kB / 0.8986 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009782/1.81, allocations: 285.8 kB / 0.8988 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/1.811, allocations: 433 kB / 0.8992 GB, free: 6.953 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.007468/1.818, allocations: 1.745 MB / 0.901 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/1.818, allocations: 0 / 0.901 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003242/1.822, allocations: 0.9218 MB / 0.9019 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/1.822, allocations: 8 kB / 0.9019 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/1.822, allocations: 5.906 kB / 0.9019 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004018/1.822, allocations: 106.4 kB / 0.902 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/1.823, allocations: 163.8 kB / 0.9021 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006157/1.829, allocations: 4.282 MB / 0.9063 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/1.832, allocations: 75.86 kB / 0.9064 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/1.832, allocations: 31.98 kB / 0.9064 GB, free: 15.12 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001135/1.833, allocations: 342.2 kB / 0.9067 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003821/1.833, allocations: 98.88 kB / 0.9068 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000316/1.834, allocations: 109.2 kB / 0.9069 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/1.834, allocations: 4 kB / 0.9069 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/1.834, allocations: 7.938 kB / 0.9069 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001954/1.836, allocations: 0.7652 MB / 0.9077 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005828/1.841, allocations: 1.98 MB / 0.9096 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/1.842, allocations: 8.031 kB / 0.9096 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/1.843, allocations: 147.8 kB / 0.9098 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001808/1.843, allocations: 36.84 kB / 0.9098 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-05/1.843, allocations: 19.98 kB / 0.9098 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002195/1.845, allocations: 1.484 MB / 0.9113 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.468e-05/1.845, allocations: 11.92 kB / 0.9113 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003399/1.849, allocations: 1.21 MB / 0.9125 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/1.85, allocations: 255.8 kB / 0.9127 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/1.85, allocations: 12 kB / 0.9127 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/1.851, allocations: 77.88 kB / 0.9128 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/1.851, allocations: 51.83 kB / 0.9128 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/1.852, allocations: 31.97 kB / 0.9129 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001462/1.853, allocations: 0.6122 MB / 0.9135 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.01e-07/1.853, allocations: 0 / 0.9135 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001766/1.855, allocations: 304 kB / 0.9138 GB, free: 7.211 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008567/1.856, allocations: 186.7 kB / 0.9139 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002764/1.858, allocations: 1.003 MB / 0.9149 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/1.858, allocations: 4 kB / 0.9149 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/1.86, allocations: 455.8 kB / 0.9154 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005488/1.865, allocations: 0.62 MB / 0.916 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007251/1.872, allocations: 2.609 MB / 0.9185 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/1.874, allocations: 1.17 MB / 0.9197 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006235/1.875, allocations: 75.44 kB / 0.9197 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of SimCode: time 1.262e-06/1.875, allocations: 0 / 0.9197 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of Templates: time 0.06464/1.939, allocations: 26.96 MB / 0.9461 GB, free: 6.164 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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 OMCppBuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowCalcHelperMain.o] Error 1