Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.344/1.344, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 175.7 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.4 MB / 0.5786 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008826/0.0008828, allocations: 87.95 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003057, allocations: 14.33 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1878, allocations: 106.3 MB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.628/0.8159, allocations: 237.6 MB / 1.133 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0198/0.8357, allocations: 15.96 MB / 1.149 GB, free: 444 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003523/0.8393, allocations: 68 kB / 1.149 GB, free: 444 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003364/0.8427, allocations: 1.032 MB / 1.15 GB, free: 412 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01153/0.8543, allocations: 3.607 MB / 1.154 GB, free: 216 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006004/0.8603, allocations: 1.68 MB / 1.155 GB, free: 168 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01077/0.8711, allocations: 7.664 MB / 1.163 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003437/0.8746, allocations: 1.419 MB / 1.164 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007125/0.8817, allocations: 2.402 MB / 1.167 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005599/0.8874, allocations: 1.78 MB / 1.168 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0008751/0.8883, allocations: 87.28 kB / 1.168 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007934/0.8962, allocations: 3.133 MB / 1.171 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001699/0.898, allocations: 0.7074 MB / 1.172 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.00327/0.9013, allocations: 1.081 MB / 1.173 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005141/0.9064, allocations: 2.646 MB / 1.176 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.9065, allocations: 0 / 1.176 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.876e-06/0.9065, allocations: 3.312 kB / 1.176 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001407/0.9066, allocations: 0 / 1.176 GB, free: 8.836 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.005535/0.9122, allocations: 2.139 MB / 1.178 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.9122, allocations: 7.969 kB / 1.178 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00363/0.9159, allocations: 0.5056 MB / 1.178 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003529/0.9194, allocations: 1.295 MB / 1.18 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002924/0.9197, allocations: 179.3 kB / 1.18 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004722/0.9202, allocations: 158 kB / 1.18 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003897/0.9241, allocations: 1.743 MB / 1.182 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.055e-05/0.9242, allocations: 9.984 kB / 1.182 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/0.9244, allocations: 57.09 kB / 1.182 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.513e-05/0.9245, allocations: 62.2 kB / 1.182 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002909/0.9274, allocations: 1.425 MB / 1.183 GB, free: 4.25 MB / 0.7136 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.0111/0.9386, allocations: 7.662 MB / 1.191 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.9403, allocations: 0.9706 MB / 1.192 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009312/0.9413, allocations: 0.5615 MB / 1.192 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006658/0.9419, allocations: 339.1 kB / 1.192 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/0.942, allocations: 51.56 kB / 1.192 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=105): time 3.246e-06/0.942, allocations: 4 kB / 1.192 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=111): time 0.008093/0.9501, allocations: 3.278 MB / 1.196 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.9502, allocations: 67.03 kB / 1.196 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/0.9522, allocations: 1.254 MB / 1.197 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001498/0.9523, allocations: 49.7 kB / 1.197 GB, free: 5.625 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006155/0.953, allocations: 0.7855 MB / 1.198 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003735/0.9534, allocations: 405.5 kB / 1.198 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-05/0.9534, allocations: 24 kB / 1.198 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.9536, allocations: 357.9 kB / 1.199 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008845/0.9545, allocations: 462.4 kB / 1.199 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.9557, allocations: 0.8231 MB / 1.2 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002045/0.9577, allocations: 1.272 MB / 1.201 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.9577, allocations: 0 / 1.201 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002746/0.9605, allocations: 1.448 MB / 1.202 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002249/0.9607, allocations: 327.1 kB / 1.203 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.9608, allocations: 8 kB / 1.203 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/0.9608, allocations: 12 kB / 1.203 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.962, allocations: 286.2 kB / 1.203 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.243e-05/0.9621, allocations: 22.56 kB / 1.203 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/0.964, allocations: 167.5 kB / 1.203 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.9641, allocations: 55.98 kB / 1.203 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.9641, allocations: 11.94 kB / 1.203 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002286/0.9664, allocations: 1.257 MB / 1.205 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.9665, allocations: 8 kB / 1.205 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.9665, allocations: 12 kB / 1.205 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.9677, allocations: 289.1 kB / 1.205 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-05/0.9677, allocations: 20.34 kB / 1.205 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/0.9695, allocations: 163.7 kB / 1.205 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.9696, allocations: 52 kB / 1.205 GB, free: 13.19 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (156): * Single equations (assignments): 156 * 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.0008877/0.9705, allocations: 0.5207 MB / 1.206 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003589/0.9709, allocations: 165.9 kB / 1.206 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/0.9732, allocations: 1.236 MB / 1.207 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.9733, allocations: 12 kB / 1.207 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.9733, allocations: 0 / 1.207 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001803/0.9751, allocations: 1.142 MB / 1.208 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005551/0.9807, allocations: 2.908 MB / 1.211 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.9807, allocations: 0 / 1.211 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/0.9821, allocations: 279.8 kB / 1.211 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.757e-05/0.9821, allocations: 4 kB / 1.211 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.078e-05/0.9822, allocations: 31.98 kB / 1.211 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.068e-05/0.9822, allocations: 11.92 kB / 1.211 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.9822, allocations: 4 kB / 1.211 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003274/0.9855, allocations: 1.926 MB / 1.213 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009114/0.9864, allocations: 358.8 kB / 1.213 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003341/0.9868, allocations: 31.98 kB / 1.213 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/0.9884, allocations: 157.7 kB / 1.214 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.9886, allocations: 72.89 kB / 1.214 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.9887, allocations: 39.98 kB / 1.214 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001311/0.99, allocations: 0.8462 MB / 1.215 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9901, allocations: 0 / 1.215 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00236/0.9924, allocations: 0.7812 MB / 1.215 GB, free: 2.508 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],entFloRat2.h_out) * 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 (111): * Single equations (assignments): 111 * 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.0006391/0.9931, allocations: 277.8 kB / 1.216 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003482/0.9966, allocations: 1.818 MB / 1.217 GB, free: 440 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.9966, allocations: 0 / 1.217 GB, free: 440 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000994/0.9976, allocations: 0.5599 MB / 1.218 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005233/1.003, allocations: 0.9649 MB / 1.219 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006899/1.01, allocations: 4.716 MB / 1.223 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/1.011, allocations: 1.453 MB / 1.225 GB, free: 8.652 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005507/1.012, allocations: 139.4 kB / 1.225 GB, free: 8.516 MB / 0.7605 GB Notification: Performance of SimCode: time 2.875e-06/1.012, allocations: 112 / 1.225 GB, free: 8.516 MB / 0.7605 GB Notification: Performance of Templates: time 0.04246/1.054, allocations: 27.08 MB / 1.251 GB, free: 13.6 MB / 0.7917 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)