Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009712/0.0009714, allocations: 99.12 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.001462/0.001461, allocations: 176.6 kB / 16.58 MB, free: 6.879 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.55/1.55, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.835/2.835, allocations: 436.7 MB / 0.7113 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003657, allocations: 12 kB / 0.8717 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8273/0.8277, allocations: 153.7 MB / 1.022 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2417/1.069, allocations: 202.8 MB / 1.22 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01826/1.088, allocations: 11.39 MB / 1.231 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002693/1.091, allocations: 59.62 kB / 1.231 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002047/1.093, allocations: 0.5898 MB / 1.231 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007051/1.1, allocations: 2.11 MB / 1.234 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0037/1.103, allocations: 1.034 MB / 1.235 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.009052/1.112, allocations: 5.14 MB / 1.24 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002642/1.115, allocations: 1.313 MB / 1.241 GB, free: 140 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005778/1.121, allocations: 1.941 MB / 1.243 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003574/1.125, allocations: 1.44 MB / 1.244 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003859/1.125, allocations: 80 kB / 1.244 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004522/1.13, allocations: 1.064 MB / 1.245 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009073/1.13, allocations: 0.5841 MB / 1.246 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009476/1.131, allocations: 384.7 kB / 1.246 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003565/1.135, allocations: 2.252 MB / 1.248 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.135, allocations: 0 / 1.248 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.063e-06/1.135, allocations: 0 / 1.248 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.052e-05/1.135, allocations: 4 kB / 1.248 GB, free: 8.367 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003472/1.139, allocations: 1.906 MB / 1.25 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/1.139, allocations: 15.98 kB / 1.25 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002896/1.141, allocations: 0.4972 MB / 1.251 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002071/1.144, allocations: 1.205 MB / 1.252 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.041e-05/1.144, allocations: 114.8 kB / 1.252 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/1.144, allocations: 155.8 kB / 1.252 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/1.147, allocations: 1.749 MB / 1.254 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/1.147, allocations: 3.938 kB / 1.254 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/1.147, allocations: 60 kB / 1.254 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.614e-05/1.147, allocations: 58.48 kB / 1.254 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/1.149, allocations: 1.392 MB / 1.255 GB, free: 0.9844 MB / 0.9981 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.8519/2.001, allocations: 7.312 MB / 1.263 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/2.003, allocations: 1.037 MB / 1.264 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/2.004, allocations: 0.6945 MB / 1.264 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002368/2.005, allocations: 112 kB / 1.264 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.294e-05/2.005, allocations: 51.44 kB / 1.264 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00159/2.006, allocations: 310 kB / 1.265 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=106): time 3.987e-06/2.006, allocations: 0.7188 kB / 1.265 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=112): time 0.009865/2.016, allocations: 4.413 MB / 1.269 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.809e-05/2.016, allocations: 176.4 kB / 1.269 GB, free: 225 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002333/2.019, allocations: 1.248 MB / 1.27 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/2.019, allocations: 53.58 kB / 1.27 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006555/2.019, allocations: 0.6991 MB / 1.271 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004266/2.02, allocations: 399.4 kB / 1.271 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.03e-05/2.02, allocations: 28.2 kB / 1.272 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001327/2.02, allocations: 359 kB / 1.272 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/2.021, allocations: 0.5135 MB / 1.272 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/2.023, allocations: 0.8411 MB / 1.273 GB, free: 222.5 MB / 0.9981 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/2.033, allocations: 3.502 MB / 1.277 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.975e-05/2.033, allocations: 2.094 kB / 1.277 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003675/2.037, allocations: 1.598 MB / 1.278 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/2.037, allocations: 7.969 kB / 1.278 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/2.037, allocations: 9.781 kB / 1.278 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.878e-05/2.037, allocations: 20.09 kB / 1.278 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/2.038, allocations: 291.9 kB / 1.278 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-05/2.039, allocations: 27.5 kB / 1.279 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/2.04, allocations: 108.6 kB / 1.279 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/2.041, allocations: 61.03 kB / 1.279 GB, free: 220.6 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001083/2.042, allocations: 420.1 kB / 1.279 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006277/2.042, allocations: 166.8 kB / 1.279 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/2.045, allocations: 1.268 MB / 1.28 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/2.045, allocations: 11.69 kB / 1.28 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/2.045, allocations: 6.672 kB / 1.28 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001794/2.047, allocations: 1.228 MB / 1.282 GB, free: 219 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00778/2.055, allocations: 3.745 MB / 1.285 GB, free: 217 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.157e-05/2.055, allocations: 9.938 kB / 1.285 GB, free: 217 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/2.056, allocations: 246.4 kB / 1.286 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.153e-05/2.056, allocations: 16.12 kB / 1.286 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/2.056, allocations: 39.7 kB / 1.286 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.691e-05/2.056, allocations: 22.77 kB / 1.286 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.799e-05/2.056, allocations: 17.06 kB / 1.286 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/2.059, allocations: 2.097 MB / 1.288 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/2.06, allocations: 354.7 kB / 1.288 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004135/2.06, allocations: 42.36 kB / 1.288 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/2.062, allocations: 90.97 kB / 1.288 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/2.062, allocations: 105.5 kB / 1.288 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/2.062, allocations: 59.34 kB / 1.288 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001314/2.063, allocations: 0.8377 MB / 1.289 GB, free: 215 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/2.063, allocations: 0 / 1.289 GB, free: 215 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00196/2.065, allocations: 432.8 kB / 1.29 GB, free: 214.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.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 (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00064/2.066, allocations: 242.8 kB / 1.29 GB, free: 214.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002266/2.068, allocations: 1.198 MB / 1.291 GB, free: 214.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/2.068, allocations: 7.5 kB / 1.291 GB, free: 214.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007708/2.069, allocations: 0.5416 MB / 1.292 GB, free: 214 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004677/2.074, allocations: 0.8965 MB / 1.292 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006543/2.08, allocations: 4.114 MB / 1.296 GB, free: 209.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/2.082, allocations: 1.368 MB / 1.298 GB, free: 208 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006346/2.082, allocations: 135.4 kB / 1.298 GB, free: 207.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.503e-06/2.082, allocations: 0 / 1.298 GB, free: 207.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.04112/2.123, allocations: 24.87 MB / 1.322 GB, free: 183.2 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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 OMCppBuildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalanceCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalanceCalcHelperMain.o] Error 1