Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00113/0.00113, allocations: 107.9 kB / 15.99 MB, free: 6.355 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.001076/0.001076, allocations: 195.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 292.3 MB / 0.5492 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001344, allocations: 70.05 kB / 0.6716 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2466, allocations: 114.6 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6748/0.9214, allocations: 239.8 MB / 1.018 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02162/0.9431, allocations: 15.76 MB / 1.033 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003657/0.9468, allocations: 67.97 kB / 1.033 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003866/0.9507, allocations: 1.053 MB / 1.034 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01087/0.9616, allocations: 3.585 MB / 1.038 GB, free: 5.227 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00512/0.9668, allocations: 1.637 MB / 1.039 GB, free: 4.047 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.007678/0.9745, allocations: 5.232 MB / 1.044 GB, free: 1.102 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003293/0.9778, allocations: 1.627 MB / 1.046 GB, free: 64 kB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006828/0.9847, allocations: 2.592 MB / 1.048 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004246/0.989, allocations: 1.812 MB / 1.05 GB, free: 13.51 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0005902/0.9896, allocations: 176 kB / 1.05 GB, free: 13.51 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005862/0.9954, allocations: 2.835 MB / 1.053 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001266/0.9968, allocations: 0.7651 MB / 1.054 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001882/0.9987, allocations: 1.147 MB / 1.055 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003963/1.003, allocations: 2.644 MB / 1.058 GB, free: 9.035 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.003, allocations: 0 / 1.058 GB, free: 9.035 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.964e-06/1.003, allocations: 2.719 kB / 1.058 GB, free: 9.035 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.105e-05/1.003, allocations: 0 / 1.058 GB, free: 9.035 MB / 0.7637 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.004464/1.007, allocations: 2.493 MB / 1.06 GB, free: 7.242 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/1.007, allocations: 10.06 kB / 1.06 GB, free: 7.242 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003101/1.01, allocations: 0.4991 MB / 1.061 GB, free: 7.012 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/1.013, allocations: 1.263 MB / 1.062 GB, free: 6.066 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/1.013, allocations: 177.9 kB / 1.062 GB, free: 5.949 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/1.013, allocations: 148.3 kB / 1.062 GB, free: 5.902 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002967/1.016, allocations: 1.746 MB / 1.064 GB, free: 4.18 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/1.016, allocations: 0 / 1.064 GB, free: 4.18 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/1.016, allocations: 64 kB / 1.064 GB, free: 4.117 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-05/1.016, allocations: 66.62 kB / 1.064 GB, free: 4.051 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002373/1.019, allocations: 1.365 MB / 1.065 GB, free: 2.68 MB / 0.7637 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.009344/1.028, allocations: 8.173 MB / 1.073 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/1.03, allocations: 0.8967 MB / 1.074 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008299/1.031, allocations: 0.538 MB / 1.075 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006144/1.031, allocations: 320.5 kB / 1.075 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/1.031, allocations: 51.44 kB / 1.075 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=96): time 3.146e-06/1.031, allocations: 7.938 kB / 1.075 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of matching and sorting (n=102): time 0.00757/1.039, allocations: 3.101 MB / 1.078 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.114e-05/1.039, allocations: 64.41 kB / 1.078 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/1.041, allocations: 1.254 MB / 1.079 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.000162/1.041, allocations: 53.7 kB / 1.079 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007149/1.042, allocations: 0.8015 MB / 1.08 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/1.042, allocations: 366.7 kB / 1.08 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003863/1.043, allocations: 226.8 kB / 1.081 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00021/1.043, allocations: 353.9 kB / 1.081 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000887/1.044, allocations: 441.8 kB / 1.081 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/1.045, allocations: 0.8351 MB / 1.082 GB, free: 192 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/1.047, allocations: 1.256 MB / 1.084 GB, free: 14.8 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.047, allocations: 0 / 1.084 GB, free: 14.8 MB / 0.795 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002509/1.05, allocations: 1.402 MB / 1.085 GB, free: 13.39 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/1.05, allocations: 12 kB / 1.085 GB, free: 13.38 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/1.05, allocations: 8.859 kB / 1.085 GB, free: 13.37 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.385e-05/1.05, allocations: 19.94 kB / 1.085 GB, free: 13.35 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/1.051, allocations: 273.8 kB / 1.085 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.179e-05/1.051, allocations: 19.94 kB / 1.085 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/1.053, allocations: 163.8 kB / 1.085 GB, free: 12.91 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.289e-05/1.053, allocations: 55.98 kB / 1.085 GB, free: 12.85 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001294/1.054, allocations: 0.7647 MB / 1.086 GB, free: 12.09 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001013/1.055, allocations: 0.8234 MB / 1.087 GB, free: 11.09 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001758/1.057, allocations: 1.233 MB / 1.088 GB, free: 9.734 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.911e-06/1.057, allocations: 4 kB / 1.088 GB, free: 9.73 MB / 0.795 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002403/1.059, allocations: 1.392 MB / 1.09 GB, free: 8.328 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/1.059, allocations: 8 kB / 1.09 GB, free: 8.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.059, allocations: 11.94 kB / 1.09 GB, free: 8.309 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/1.059, allocations: 16 kB / 1.09 GB, free: 8.293 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/1.06, allocations: 275.6 kB / 1.09 GB, free: 8.023 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.057e-05/1.06, allocations: 23.92 kB / 1.09 GB, free: 8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/1.062, allocations: 166.8 kB / 1.09 GB, free: 7.84 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.019e-05/1.062, allocations: 44 kB / 1.09 GB, free: 7.797 MB / 0.795 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.0003591/1.063, allocations: 263.8 kB / 1.09 GB, free: 7.531 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002574/1.063, allocations: 166 kB / 1.09 GB, free: 7.367 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002169/1.065, allocations: 1.153 MB / 1.092 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/1.065, allocations: 12 kB / 1.092 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.065, allocations: 0 / 1.092 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001586/1.067, allocations: 1.079 MB / 1.093 GB, free: 5.066 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004648/1.071, allocations: 2.77 MB / 1.095 GB, free: 2.215 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/1.071, allocations: 4 kB / 1.095 GB, free: 2.211 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/1.073, allocations: 251.9 kB / 1.096 GB, free: 1.965 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.606e-05/1.073, allocations: 7.938 kB / 1.096 GB, free: 1.957 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.954e-05/1.073, allocations: 31.98 kB / 1.096 GB, free: 1.926 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/1.073, allocations: 4.875 kB / 1.096 GB, free: 1.922 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.073, allocations: 4 kB / 1.096 GB, free: 1.918 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002858/1.076, allocations: 1.812 MB / 1.097 GB, free: 68 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007576/1.076, allocations: 342.9 kB / 1.098 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/1.076, allocations: 20 kB / 1.098 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/1.078, allocations: 137.1 kB / 1.098 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/1.078, allocations: 64.94 kB / 1.098 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.528e-05/1.078, allocations: 43.98 kB / 1.098 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001095/1.079, allocations: 0.8383 MB / 1.099 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/1.079, allocations: 3.938 kB / 1.099 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001968/1.081, allocations: 0.7578 MB / 1.1 GB, free: 13.86 MB / 0.8106 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.0006234/1.082, allocations: 276.2 kB / 1.1 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003858/1.086, allocations: 2.002 MB / 1.102 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.086, allocations: 0 / 1.102 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008563/1.086, allocations: 0.517 MB / 1.102 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003991/1.09, allocations: 0.9265 MB / 1.103 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005653/1.096, allocations: 4.22 MB / 1.107 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000937/1.097, allocations: 1.428 MB / 1.109 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004829/1.098, allocations: 143.4 kB / 1.109 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of SimCode: time 8.31e-07/1.098, allocations: 0 / 1.109 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of Templates: time 0.03818/1.136, allocations: 26.48 MB / 1.135 GB, free: 10 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)