Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.236/2.236, allocations: 391.2 MB / 407 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 197.5 kB / 499.1 MB, free: 4.668 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 121.7 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 48.83 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2955, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1622/0.4577, allocations: 168.5 MB / 1.383 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.005876/0.4637, allocations: 3.431 MB / 1.386 GB, free: 8.672 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005825/0.4643, allocations: 19.88 kB / 1.386 GB, free: 8.652 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0009065/0.4652, allocations: 266.6 kB / 1.386 GB, free: 8.391 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.4674, allocations: 0.9532 MB / 1.387 GB, free: 7.434 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.4689, allocations: 0.6066 MB / 1.388 GB, free: 6.832 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002147/0.4711, allocations: 2.124 MB / 1.39 GB, free: 4.699 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005782/0.4717, allocations: 407 kB / 1.39 GB, free: 4.297 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007676/0.4725, allocations: 493.9 kB / 1.391 GB, free: 3.812 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.4736, allocations: 497.5 kB / 1.391 GB, free: 3.328 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 7.502e-05/0.4736, allocations: 24 kB / 1.391 GB, free: 3.305 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.4753, allocations: 0.9468 MB / 1.392 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.4755, allocations: 219.3 kB / 1.392 GB, free: 2.141 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.000334/0.4758, allocations: 294.6 kB / 1.393 GB, free: 1.852 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.4772, allocations: 1.161 MB / 1.394 GB, free: 0.6875 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4772, allocations: 0 / 1.394 GB, free: 0.6875 MB / 0.8855 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4772, allocations: 0 / 1.394 GB, free: 0.6875 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.4772, allocations: 0 / 1.394 GB, free: 0.6875 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001398/0.4786, allocations: 0.9155 MB / 1.395 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.4787, allocations: 15.98 kB / 1.395 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.4798, allocations: 175.1 kB / 1.395 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007593/0.4806, allocations: 0.5013 MB / 1.395 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.4806, allocations: 33 kB / 1.395 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-05/0.4807, allocations: 44 kB / 1.395 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007115/0.4814, allocations: 470.4 kB / 1.396 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.4814, allocations: 3.938 kB / 1.396 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.733e-05/0.4815, allocations: 20 kB / 1.396 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.38e-05/0.4815, allocations: 24.98 kB / 1.396 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005997/0.4821, allocations: 407.8 kB / 1.396 GB, free: 14 MB / 0.9011 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.002427/0.4846, allocations: 1.736 MB / 1.398 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.485, allocations: 307.4 kB / 1.398 GB, free: 11.83 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.4853, allocations: 174.8 kB / 1.398 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.4855, allocations: 97.09 kB / 1.399 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.4855, allocations: 42.5 kB / 1.399 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=31): time 2.204e-06/0.4855, allocations: 0 / 1.399 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33): time 0.001916/0.4874, allocations: 1.066 MB / 1.4 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.4875, allocations: 55.41 kB / 1.4 GB, free: 10.31 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005216/0.488, allocations: 449.9 kB / 1.4 GB, free: 9.859 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.4881, allocations: 37.7 kB / 1.4 GB, free: 9.816 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.4883, allocations: 248.1 kB / 1.4 GB, free: 9.57 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.4884, allocations: 118.3 kB / 1.401 GB, free: 9.453 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.4885, allocations: 69.7 kB / 1.401 GB, free: 9.379 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4887, allocations: 358.8 kB / 1.401 GB, free: 9.02 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.4889, allocations: 123.9 kB / 1.401 GB, free: 8.898 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.4891, allocations: 189.9 kB / 1.401 GB, free: 8.691 MB / 0.9011 GB 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 (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001871/0.491, allocations: 0.8689 MB / 1.402 GB, free: 7.781 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.491, allocations: 0 / 1.402 GB, free: 7.781 MB / 0.9011 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006054/0.4916, allocations: 424.5 kB / 1.402 GB, free: 7.359 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.4917, allocations: 8 kB / 1.402 GB, free: 7.352 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.4917, allocations: 0 / 1.402 GB, free: 7.352 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.4917, allocations: 4 kB / 1.402 GB, free: 7.348 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.492, allocations: 71.91 kB / 1.403 GB, free: 7.277 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.492, allocations: 7.938 kB / 1.403 GB, free: 7.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004022/0.4924, allocations: 32.02 kB / 1.403 GB, free: 7.238 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.4925, allocations: 16 kB / 1.403 GB, free: 7.223 MB / 0.9011 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002343/0.4927, allocations: 210.3 kB / 1.403 GB, free: 7.008 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.956e-05/0.4928, allocations: 59.38 kB / 1.403 GB, free: 6.949 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.4929, allocations: 52.77 kB / 1.403 GB, free: 6.898 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4929, allocations: 4 kB / 1.403 GB, free: 6.895 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.493, allocations: 4 kB / 1.403 GB, free: 6.891 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004828/0.4934, allocations: 416.3 kB / 1.403 GB, free: 6.453 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.4952, allocations: 1.242 MB / 1.405 GB, free: 5.105 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4953, allocations: 4.5 kB / 1.405 GB, free: 5.102 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/0.4956, allocations: 71.91 kB / 1.405 GB, free: 5.031 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.4956, allocations: 8 kB / 1.405 GB, free: 5.023 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.4957, allocations: 11.98 kB / 1.405 GB, free: 5.012 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/0.4957, allocations: 11.94 kB / 1.405 GB, free: 5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.4957, allocations: 7.984 kB / 1.405 GB, free: 4.992 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003328/0.499, allocations: 2.684 MB / 1.407 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.4993, allocations: 172.5 kB / 1.407 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.4993, allocations: 12 kB / 1.407 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/0.4998, allocations: 33.11 kB / 1.407 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.4998, allocations: 31.84 kB / 1.408 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.765e-05/0.4999, allocations: 23.98 kB / 1.408 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000344/0.5002, allocations: 327.1 kB / 1.408 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5002, allocations: 0 / 1.408 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007766/0.501, allocations: 215.9 kB / 1.408 GB, free: 1.309 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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.0004616/0.5015, allocations: 169.5 kB / 1.408 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005796/0.5021, allocations: 323.4 kB / 1.409 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.5021, allocations: 7.938 kB / 1.409 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.5023, allocations: 160.5 kB / 1.409 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.5041, allocations: 350 kB / 1.409 GB, free: 328 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.5064, allocations: 1.558 MB / 1.411 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.5069, allocations: 0.8901 MB / 1.411 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005043/0.5074, allocations: 140.6 kB / 1.412 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.5075, allocations: 43.44 kB / 1.412 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of SimCode: time 3.41e-07/0.5075, allocations: 0 / 1.412 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of Templates: time 0.01926/0.5268, allocations: 11.18 MB / 1.422 GB, free: 2.547 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)