Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.822/1.822, allocations: 288.4 MB / 303.4 MB, free: 8.109 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.001337/0.001337, allocations: 180.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.4 MB / 0.6307 GB, free: 9.992 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.0009608/0.0009609, allocations: 101.7 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004256, allocations: 12.06 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2456, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.9641/1.21, allocations: 155.2 MB / 1.131 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005762/1.216, allocations: 3.153 MB / 1.134 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/1.217, allocations: 16.66 kB / 1.134 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009766/1.218, allocations: 225 kB / 1.134 GB, free: 0.6836 MB / 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.003192/1.221, allocations: 0.7383 MB / 1.135 GB, free: 376 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001851/1.223, allocations: 498.8 kB / 1.136 GB, free: 256 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002668/1.225, allocations: 1.764 MB / 1.137 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008224/1.226, allocations: 347.7 kB / 1.138 GB, free: 15.92 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/1.228, allocations: 476.6 kB / 1.138 GB, free: 15.8 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/1.229, allocations: 456.5 kB / 1.139 GB, free: 15.67 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001595/1.229, allocations: 22.88 kB / 1.139 GB, free: 15.67 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/1.23, allocations: 427.1 kB / 1.139 GB, free: 15.61 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003484/1.231, allocations: 200 kB / 1.139 GB, free: 15.58 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003268/1.231, allocations: 142.9 kB / 1.139 GB, free: 15.53 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/1.232, allocations: 0.7703 MB / 1.14 GB, free: 15.35 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.232, allocations: 0 / 1.14 GB, free: 15.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.373e-06/1.232, allocations: 0 / 1.14 GB, free: 15.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.338e-05/1.232, allocations: 0 / 1.14 GB, free: 15.35 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.001675/1.234, allocations: 0.7966 MB / 1.141 GB, free: 14.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.234, allocations: 11.02 kB / 1.141 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/1.235, allocations: 180.8 kB / 1.141 GB, free: 14.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009895/1.236, allocations: 484.1 kB / 1.141 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.063e-05/1.237, allocations: 31.88 kB / 1.142 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-05/1.237, allocations: 43.25 kB / 1.142 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008437/1.237, allocations: 473 kB / 1.142 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/1.238, allocations: 7.938 kB / 1.142 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-05/1.238, allocations: 21.22 kB / 1.142 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/1.238, allocations: 12.47 kB / 1.142 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006327/1.238, allocations: 414.6 kB / 1.142 GB, free: 14.1 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.002963/1.241, allocations: 1.872 MB / 1.144 GB, free: 12.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/1.242, allocations: 225.1 kB / 1.144 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/1.242, allocations: 149.2 kB / 1.145 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002166/1.242, allocations: 102.5 kB / 1.145 GB, free: 12.76 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/1.242, allocations: 34.97 kB / 1.145 GB, free: 12.72 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 2.325e-06/1.242, allocations: 1.75 kB / 1.145 GB, free: 12.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0008561/1.243, allocations: 397.4 kB / 1.145 GB, free: 12.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/1.243, allocations: 53.72 kB / 1.145 GB, free: 12.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006405/1.244, allocations: 489.2 kB / 1.146 GB, free: 12.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/1.244, allocations: 31.14 kB / 1.146 GB, free: 12.33 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/1.244, allocations: 272.7 kB / 1.146 GB, free: 12.17 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.854e-05/1.244, allocations: 89.36 kB / 1.146 GB, free: 12.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.802e-05/1.244, allocations: 8.531 kB / 1.146 GB, free: 12.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.244, allocations: 359.8 kB / 1.146 GB, free: 11.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/1.244, allocations: 118.1 kB / 1.146 GB, free: 11.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/1.245, allocations: 204.4 kB / 1.147 GB, free: 11.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/1.245, allocations: 144.5 kB / 1.147 GB, free: 11.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.245, allocations: 0.875 kB / 1.147 GB, free: 11.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006966/1.246, allocations: 407 kB / 1.147 GB, free: 11.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/1.246, allocations: 10.03 kB / 1.147 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/1.246, allocations: 2.406 kB / 1.147 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/1.246, allocations: 4.281 kB / 1.147 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/1.246, allocations: 63.22 kB / 1.147 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/1.246, allocations: 3.25 kB / 1.147 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005468/1.247, allocations: 65.67 kB / 1.147 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/1.247, allocations: 14.12 kB / 1.147 GB, free: 11.45 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.0002754/1.247, allocations: 208.3 kB / 1.148 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/1.247, allocations: 47.75 kB / 1.148 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/1.247, allocations: 60.28 kB / 1.148 GB, free: 11.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/1.247, allocations: 2.875 kB / 1.148 GB, free: 11.28 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/1.247, allocations: 5.188 kB / 1.148 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004158/1.248, allocations: 338.5 kB / 1.148 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/1.249, allocations: 0.9554 MB / 1.149 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.249, allocations: 1.125 kB / 1.149 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/1.25, allocations: 61.89 kB / 1.149 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/1.25, allocations: 3.094 kB / 1.149 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/1.25, allocations: 9.656 kB / 1.149 GB, free: 10.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/1.25, allocations: 7.125 kB / 1.149 GB, free: 10.53 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.25, allocations: 2.25 kB / 1.149 GB, free: 10.53 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008725/1.251, allocations: 0.5609 MB / 1.15 GB, free: 10.26 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/1.251, allocations: 162.9 kB / 1.15 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.86e-05/1.251, allocations: 6.594 kB / 1.15 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004574/1.251, allocations: 25.47 kB / 1.15 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/1.251, allocations: 23.03 kB / 1.15 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/1.251, allocations: 14.09 kB / 1.15 GB, free: 10.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000476/1.252, allocations: 351.4 kB / 1.15 GB, free: 9.973 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.252, allocations: 0 / 1.15 GB, free: 9.973 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007093/1.253, allocations: 161.3 kB / 1.15 GB, free: 9.953 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.0004649/1.253, allocations: 159 kB / 1.15 GB, free: 9.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005941/1.254, allocations: 273.6 kB / 1.151 GB, free: 9.793 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.254, allocations: 0.8438 kB / 1.151 GB, free: 9.793 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/1.254, allocations: 121.8 kB / 1.151 GB, free: 9.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/1.256, allocations: 338.5 kB / 1.151 GB, free: 9.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/1.258, allocations: 1.208 MB / 1.152 GB, free: 8.875 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006108/1.258, allocations: 0.8776 MB / 1.153 GB, free: 8.102 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005843/1.259, allocations: 130.3 kB / 1.153 GB, free: 8.043 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/1.259, allocations: 43.59 kB / 1.153 GB, free: 8.031 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/1.259, allocations: 0 / 1.153 GB, free: 8.031 MB / 0.698 GB Notification: Performance of Templates: time 0.02169/1.281, allocations: 9.711 MB / 1.163 GB, free: 3.23 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)