Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.828/2.828, allocations: 287.5 MB / 302.4 MB, free: 8.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001494, allocations: 180.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.208/2.208, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008977/0.0008978, allocations: 91.61 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006958/0.0006961, allocations: 13.12 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2145, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.9049/1.119, allocations: 155.2 MB / 1.13 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006949/1.126, allocations: 3.169 MB / 1.133 GB, free: 368 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/1.127, allocations: 16.53 kB / 1.133 GB, free: 360 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/1.129, allocations: 211.3 kB / 1.133 GB, free: 292 kB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003099/1.132, allocations: 0.745 MB / 1.134 GB, free: 16 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002458/1.134, allocations: 499.9 kB / 1.134 GB, free: 15.9 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003347/1.138, allocations: 1.757 MB / 1.136 GB, free: 15.62 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009047/1.138, allocations: 353.7 kB / 1.136 GB, free: 15.57 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/1.14, allocations: 480.3 kB / 1.137 GB, free: 15.44 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/1.141, allocations: 446.6 kB / 1.137 GB, free: 15.32 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/1.141, allocations: 21.12 kB / 1.137 GB, free: 15.32 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/1.143, allocations: 425.7 kB / 1.138 GB, free: 15.26 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003782/1.144, allocations: 203 kB / 1.138 GB, free: 15.23 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002748/1.144, allocations: 142.8 kB / 1.138 GB, free: 15.18 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001609/1.146, allocations: 0.7689 MB / 1.139 GB, free: 15.09 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.146, allocations: 4 kB / 1.139 GB, free: 15.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.565e-06/1.146, allocations: 0 / 1.139 GB, free: 15.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.419e-05/1.146, allocations: 0 / 1.139 GB, free: 15.09 MB / 0.698 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.002098/1.148, allocations: 0.7938 MB / 1.14 GB, free: 14.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/1.148, allocations: 15.12 kB / 1.14 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/1.15, allocations: 173.7 kB / 1.14 GB, free: 14.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/1.151, allocations: 483.1 kB / 1.14 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/1.151, allocations: 36.31 kB / 1.14 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/1.151, allocations: 43.84 kB / 1.14 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/1.153, allocations: 477.4 kB / 1.141 GB, free: 14.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/1.153, allocations: 5.078 kB / 1.141 GB, free: 14.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.273e-05/1.153, allocations: 17.97 kB / 1.141 GB, free: 14.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.903e-05/1.153, allocations: 22.7 kB / 1.141 GB, free: 14.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/1.154, allocations: 409.9 kB / 1.141 GB, free: 14.15 MB / 0.698 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.004916/1.159, allocations: 1.875 MB / 1.143 GB, free: 13.28 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005751/1.16, allocations: 222 kB / 1.143 GB, free: 13.26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003271/1.16, allocations: 150.2 kB / 1.143 GB, free: 13.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002595/1.16, allocations: 95.75 kB / 1.143 GB, free: 13.15 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/1.16, allocations: 41.31 kB / 1.144 GB, free: 13.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 3.066e-06/1.16, allocations: 1.859 kB / 1.144 GB, free: 13.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.001331/1.162, allocations: 392 kB / 1.144 GB, free: 13.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/1.162, allocations: 53.94 kB / 1.144 GB, free: 12.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009071/1.163, allocations: 490 kB / 1.144 GB, free: 12.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.634e-05/1.163, allocations: 31.23 kB / 1.144 GB, free: 12.74 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/1.163, allocations: 275.9 kB / 1.145 GB, free: 12.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/1.163, allocations: 93.14 kB / 1.145 GB, free: 12.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/1.163, allocations: 4.781 kB / 1.145 GB, free: 12.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000207/1.163, allocations: 359.4 kB / 1.145 GB, free: 12.17 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/1.164, allocations: 115.5 kB / 1.145 GB, free: 12.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/1.164, allocations: 205.7 kB / 1.145 GB, free: 12.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/1.165, allocations: 147.1 kB / 1.146 GB, free: 12.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.165, allocations: 1.156 kB / 1.146 GB, free: 12.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001055/1.166, allocations: 399.2 kB / 1.146 GB, free: 11.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/1.166, allocations: 12.59 kB / 1.146 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.166, allocations: 1.188 kB / 1.146 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/1.166, allocations: 4.875 kB / 1.146 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/1.166, allocations: 65.72 kB / 1.146 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/1.166, allocations: 5.062 kB / 1.146 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009311/1.167, allocations: 57.48 kB / 1.146 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/1.167, allocations: 16.34 kB / 1.146 GB, free: 11.86 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (39): * Single equations (assignments): 39 * 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.0004327/1.168, allocations: 209.5 kB / 1.146 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/1.168, allocations: 47.69 kB / 1.146 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/1.168, allocations: 54.69 kB / 1.146 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.168, allocations: 1.781 kB / 1.146 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.108e-06/1.168, allocations: 5.219 kB / 1.146 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006281/1.169, allocations: 346 kB / 1.147 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002182/1.171, allocations: 0.9544 MB / 1.148 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/1.171, allocations: 5.375 kB / 1.148 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/1.172, allocations: 53.11 kB / 1.148 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/1.172, allocations: 8.531 kB / 1.148 GB, free: 10.94 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/1.172, allocations: 6.031 kB / 1.148 GB, free: 10.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/1.172, allocations: 6.906 kB / 1.148 GB, free: 10.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/1.172, allocations: 6.516 kB / 1.148 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/1.173, allocations: 0.5549 MB / 1.148 GB, free: 10.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004323/1.173, allocations: 166.9 kB / 1.148 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/1.173, allocations: 7.5 kB / 1.148 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007373/1.174, allocations: 24.11 kB / 1.149 GB, free: 10.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/1.174, allocations: 24.14 kB / 1.149 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.144e-05/1.174, allocations: 16.16 kB / 1.149 GB, free: 10.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006657/1.175, allocations: 351.8 kB / 1.149 GB, free: 10.38 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/1.175, allocations: 0 / 1.149 GB, free: 10.38 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009432/1.176, allocations: 159.5 kB / 1.149 GB, free: 10.36 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (vol.dynBal.U,vol.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 (23): * Single equations (assignments): 23 * 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.0005564/1.177, allocations: 163.6 kB / 1.149 GB, free: 10.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008203/1.177, allocations: 267.2 kB / 1.149 GB, free: 10.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.177, allocations: 3.188 kB / 1.149 GB, free: 10.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002725/1.178, allocations: 119.3 kB / 1.15 GB, free: 10.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/1.181, allocations: 327.4 kB / 1.15 GB, free: 10.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/1.184, allocations: 1.205 MB / 1.151 GB, free: 9.289 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000697/1.184, allocations: 0.8819 MB / 1.152 GB, free: 8.512 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00103/1.185, allocations: 128.8 kB / 1.152 GB, free: 8.453 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/1.186, allocations: 38.75 kB / 1.152 GB, free: 8.445 MB / 0.698 GB Notification: Performance of SimCode: time 1.343e-06/1.186, allocations: 2.672 kB / 1.152 GB, free: 8.445 MB / 0.698 GB Notification: Performance of Templates: time 0.03001/1.216, allocations: 9.716 MB / 1.162 GB, free: 3.609 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)