Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.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 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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 189.6 kB / 16.62 MB, free: 6.582 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.701/1.701, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.841/1.841, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001351/0.001351, allocations: 72.23 kB / 0.6722 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2844, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.8401/1.125, allocations: 170.8 MB / 0.9509 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006898/1.131, allocations: 3.346 MB / 0.9541 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/1.133, allocations: 20.72 kB / 0.9542 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/1.134, allocations: 316.2 kB / 0.9545 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003455/1.138, allocations: 1.013 MB / 0.9555 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002076/1.14, allocations: 0.6637 MB / 0.9561 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002703/1.142, allocations: 1.508 MB / 0.9576 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008724/1.143, allocations: 480.1 kB / 0.958 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/1.145, allocations: 0.5603 MB / 0.9586 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/1.146, allocations: 459.6 kB / 0.959 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00013/1.146, allocations: 53.66 kB / 0.9591 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/1.149, allocations: 0.8299 MB / 0.9599 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003218/1.149, allocations: 242.3 kB / 0.9601 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005388/1.149, allocations: 331.7 kB / 0.9604 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002406/1.152, allocations: 1.127 MB / 0.9615 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/1.152, allocations: 4.906 kB / 0.9615 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/1.152, allocations: 0 / 0.9615 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.347e-05/1.152, allocations: 3.938 kB / 0.9615 GB, free: 0.8203 MB / 0.7169 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.001863/1.154, allocations: 0.9123 MB / 0.9624 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/1.154, allocations: 12.59 kB / 0.9624 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/1.155, allocations: 162.4 kB / 0.9626 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009558/1.156, allocations: 0.523 MB / 0.9631 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.348e-05/1.156, allocations: 32.38 kB / 0.9631 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.994e-05/1.156, allocations: 41.25 kB / 0.9632 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009047/1.157, allocations: 471.4 kB / 0.9636 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/1.157, allocations: 2.125 kB / 0.9636 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.417e-05/1.157, allocations: 26.31 kB / 0.9637 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-05/1.157, allocations: 15.59 kB / 0.9637 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007303/1.158, allocations: 410.3 kB / 0.9641 GB, free: 15.88 MB / 0.7325 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.003412/1.161, allocations: 1.857 MB / 0.9659 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004154/1.162, allocations: 227 kB / 0.9661 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/1.162, allocations: 148.9 kB / 0.9662 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002293/1.162, allocations: 96.28 kB / 0.9663 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/1.162, allocations: 44.2 kB / 0.9664 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 3.978e-06/1.162, allocations: 0 / 0.9664 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.0009646/1.163, allocations: 394.8 kB / 0.9667 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/1.163, allocations: 54.78 kB / 0.9668 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006381/1.164, allocations: 499.1 kB / 0.9673 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/1.164, allocations: 31.39 kB / 0.9673 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/1.164, allocations: 272.8 kB / 0.9676 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.507e-05/1.165, allocations: 86.42 kB / 0.9676 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/1.165, allocations: 72.94 kB / 0.9677 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001881/1.165, allocations: 359.5 kB / 0.9681 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/1.165, allocations: 112.4 kB / 0.9682 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/1.165, allocations: 214.5 kB / 0.9684 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004795/1.166, allocations: 329.1 kB / 0.9687 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/1.166, allocations: 0 / 0.9687 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007386/1.167, allocations: 397.4 kB / 0.9691 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/1.167, allocations: 8.844 kB / 0.9691 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/1.167, allocations: 5.906 kB / 0.9691 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/1.167, allocations: 8.031 kB / 0.9691 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/1.167, allocations: 65.17 kB / 0.9691 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/1.167, allocations: 7.875 kB / 0.9692 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/1.168, allocations: 52 kB / 0.9692 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/1.168, allocations: 12.42 kB / 0.9692 GB, free: 13.75 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002955/1.168, allocations: 205.5 kB / 0.9694 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/1.168, allocations: 49.22 kB / 0.9695 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/1.168, allocations: 57.45 kB / 0.9695 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/1.168, allocations: 2.812 kB / 0.9695 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.168, allocations: 0 / 0.9695 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004284/1.169, allocations: 346.1 kB / 0.9698 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/1.17, allocations: 0.9595 MB / 0.9708 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.17, allocations: 1.375 kB / 0.9708 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/1.17, allocations: 57.89 kB / 0.9708 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/1.17, allocations: 2.75 kB / 0.9708 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/1.17, allocations: 10.52 kB / 0.9709 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/1.171, allocations: 2.75 kB / 0.9709 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.171, allocations: 1.375 kB / 0.9709 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008032/1.171, allocations: 0.5587 MB / 0.9714 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002656/1.172, allocations: 167.2 kB / 0.9716 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.265e-05/1.172, allocations: 6.531 kB / 0.9716 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/1.172, allocations: 24.66 kB / 0.9716 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/1.172, allocations: 18.77 kB / 0.9716 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.413e-05/1.172, allocations: 18.36 kB / 0.9716 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004742/1.173, allocations: 360.5 kB / 0.972 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/1.173, allocations: 0 / 0.972 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007246/1.173, allocations: 149.8 kB / 0.9721 GB, free: 12.18 MB / 0.7325 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 (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.0005243/1.174, allocations: 161.9 kB / 0.9723 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006373/1.175, allocations: 278.9 kB / 0.9725 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.175, allocations: 1.531 kB / 0.9725 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/1.175, allocations: 119.8 kB / 0.9726 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/1.176, allocations: 354.3 kB / 0.973 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/1.178, allocations: 1.009 MB / 0.974 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/1.179, allocations: 0.8779 MB / 0.9748 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004936/1.179, allocations: 136.7 kB / 0.975 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/1.179, allocations: 43.28 kB / 0.975 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of SimCode: time 6.71e-07/1.179, allocations: 0 / 0.975 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of Templates: time 0.02196/1.201, allocations: 10.47 MB / 0.9852 GB, free: 5.738 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)