Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.Examples.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006597/0.006597, allocations: 101.2 kB / 15.73 MB, free: 6.035 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.001315/0.001316, allocations: 186.1 kB / 16.67 MB, free: 5.969 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.809/1.809, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6942/0.6942, allocations: 95.48 MB / 365.4 MB, free: 9.781 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 75.91 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1654, allocations: 69.08 MB / 0.5711 GB, free: 8.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow): time 0.5675/0.7329, allocations: 148 MB / 0.7156 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006004/0.739, allocations: 3.117 MB / 0.7186 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007592/0.7398, allocations: 17.94 kB / 0.7187 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009324/0.7408, allocations: 243 kB / 0.7189 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.7423, allocations: 0.5338 MB / 0.7194 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.744, allocations: 0.5672 MB / 0.72 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001696/0.7457, allocations: 1.267 MB / 0.7212 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005775/0.7463, allocations: 382.5 kB / 0.7216 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.7475, allocations: 475.4 kB / 0.722 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005119/0.748, allocations: 377.7 kB / 0.7224 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.002e-05/0.7481, allocations: 36 kB / 0.7224 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007406/0.7489, allocations: 263.5 kB / 0.7227 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.749, allocations: 127.6 kB / 0.7228 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000261/0.7493, allocations: 250.9 kB / 0.723 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009887/0.7503, allocations: 0.7085 MB / 0.7237 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.7503, allocations: 4 kB / 0.7237 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.877e-06/0.7503, allocations: 0 / 0.7237 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.7503, allocations: 3.938 kB / 0.7237 GB, free: 2.348 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001144/0.7515, allocations: 0.7558 MB / 0.7245 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.7515, allocations: 15.98 kB / 0.7245 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003378/0.7519, allocations: 56.38 kB / 0.7245 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000791/0.7527, allocations: 463 kB / 0.725 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.7527, allocations: 28.59 kB / 0.725 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.174e-05/0.7528, allocations: 28 kB / 0.725 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006395/0.7534, allocations: 427.3 kB / 0.7254 GB, free: 480 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.7534, allocations: 0 / 0.7254 GB, free: 480 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.366e-05/0.7535, allocations: 12 kB / 0.7255 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.7535, allocations: 8 kB / 0.7255 GB, free: 460 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004237/0.7539, allocations: 269.9 kB / 0.7257 GB, free: 192 kB / 0.5294 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.002371/0.7563, allocations: 2.2 MB / 0.7279 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.7566, allocations: 122.5 kB / 0.728 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.7567, allocations: 60.83 kB / 0.728 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.7569, allocations: 170.2 kB / 0.7282 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.7569, allocations: 38.69 kB / 0.7282 GB, free: 13.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.7569, allocations: 0 / 0.7282 GB, free: 13.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.001395/0.7583, allocations: 0.6403 MB / 0.7289 GB, free: 12.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.7584, allocations: 110.8 kB / 0.729 GB, free: 12.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005255/0.7589, allocations: 489.8 kB / 0.7294 GB, free: 12.06 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.759, allocations: 25.7 kB / 0.7295 GB, free: 12.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.7592, allocations: 259.3 kB / 0.7297 GB, free: 11.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.7592, allocations: 51.34 kB / 0.7298 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.7593, allocations: 69.61 kB / 0.7298 GB, free: 11.65 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.7595, allocations: 354.8 kB / 0.7302 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.7596, allocations: 80.58 kB / 0.7302 GB, free: 11.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.7599, allocations: 223 kB / 0.7305 GB, free: 10.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.7603, allocations: 291 kB / 0.7307 GB, free: 10.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.7603, allocations: 4 kB / 0.7307 GB, free: 10.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005218/0.7608, allocations: 356.5 kB / 0.7311 GB, free: 10.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.7608, allocations: 10.5 kB / 0.7311 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.7608, allocations: 7.938 kB / 0.7311 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.7609, allocations: 4.562 kB / 0.7311 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.7612, allocations: 75.91 kB / 0.7312 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.7612, allocations: 11.94 kB / 0.7312 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.7614, allocations: 11.98 kB / 0.7312 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.7614, allocations: 20 kB / 0.7312 GB, free: 10.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (38): * Single equations (assignments): 38 * 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.0001854/0.7616, allocations: 173.7 kB / 0.7314 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.369e-05/0.7617, allocations: 43.47 kB / 0.7314 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003517/0.7621, allocations: 193.3 kB / 0.7316 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.7621, allocations: 4 kB / 0.7316 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7621, allocations: 0.875 kB / 0.7316 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.7621, allocations: 0 / 0.7316 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00082/0.7629, allocations: 0.6356 MB / 0.7322 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.7629, allocations: 0 / 0.7322 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.7631, allocations: 23.98 kB / 0.7323 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.7631, allocations: 4.656 kB / 0.7323 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.7631, allocations: 5.125 kB / 0.7323 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.7631, allocations: 8.031 kB / 0.7323 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.7631, allocations: 7.875 kB / 0.7323 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004622/0.7636, allocations: 347.7 kB / 0.7326 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.052e-05/0.7637, allocations: 112.7 kB / 0.7327 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/0.7638, allocations: 11.98 kB / 0.7327 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.764, allocations: 11.92 kB / 0.7327 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.764, allocations: 12.05 kB / 0.7327 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.764, allocations: 11.94 kB / 0.7328 GB, free: 8.398 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003653/0.7644, allocations: 335.1 kB / 0.7331 GB, free: 8.074 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7644, allocations: 0 / 0.7331 GB, free: 8.074 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005075/0.7649, allocations: 147.9 kB / 0.7332 GB, free: 7.93 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (vol.dynBal.medium.T) * 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 (13): * Single equations (assignments): 13 * 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.000549/0.7655, allocations: 224.7 kB / 0.7334 GB, free: 7.711 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003981/0.7659, allocations: 191.7 kB / 0.7336 GB, free: 7.523 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.7659, allocations: 0 / 0.7336 GB, free: 7.523 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.766, allocations: 68.97 kB / 0.7337 GB, free: 7.457 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.7672, allocations: 285.1 kB / 0.734 GB, free: 7.191 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.7685, allocations: 0.7357 MB / 0.7347 GB, free: 6.426 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.769, allocations: 0.8152 MB / 0.7355 GB, free: 5.582 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003436/0.7693, allocations: 88.52 kB / 0.7356 GB, free: 5.496 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.708e-05/0.7694, allocations: 43.38 kB / 0.7356 GB, free: 5.453 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.7694, allocations: 0 / 0.7356 GB, free: 5.453 MB / 0.545 GB Notification: Performance of Templates: time 0.01772/0.7872, allocations: 9.002 MB / 0.7444 GB, free: 12.55 MB / 0.5606 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.pipe 2>&1)