Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.668/1.668, allocations: 288.4 MB / 303.7 MB, free: 8.879 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.001035/0.001035, allocations: 180.5 kB / 372.3 MB, free: 6.422 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.65/1.65, allocations: 205.4 MB / 0.631 GB, free: 13.43 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007555/0.0007554, allocations: 90.92 kB / 0.7444 GB, free: 64.71 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007203/0.0007204, allocations: 12 kB / 0.8675 GB, free: 0.5781 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3157, allocations: 115.3 MB / 0.9801 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.7036/1.019, allocations: 155.4 MB / 1.132 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005874/1.025, allocations: 4.007 MB / 1.136 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009295/1.026, allocations: 17.12 kB / 1.136 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/1.027, allocations: 277.7 kB / 1.136 GB, free: 8.816 MB / 0.7448 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735: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:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003397/1.031, allocations: 1.065 MB / 1.137 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/1.033, allocations: 0.6099 MB / 1.138 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002389/1.035, allocations: 1.978 MB / 1.14 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/1.036, allocations: 478.2 kB / 1.14 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/1.038, allocations: 0.5634 MB / 1.141 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/1.04, allocations: 0.5309 MB / 1.141 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0002084/1.04, allocations: 27.41 kB / 1.141 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002309/1.042, allocations: 0.8965 MB / 1.142 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0004723/1.043, allocations: 224.3 kB / 1.142 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0008425/1.044, allocations: 368.4 kB / 1.143 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001384/1.045, allocations: 0.9332 MB / 1.144 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/1.045, allocations: 0 / 1.144 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.523e-06/1.045, allocations: 0 / 1.144 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.879e-05/1.045, allocations: 0 / 1.144 GB, free: 5.832 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002237/1.047, allocations: 0.9031 MB / 1.144 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.047, allocations: 13.28 kB / 1.144 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/1.049, allocations: 156.5 kB / 1.145 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009622/1.05, allocations: 0.5206 MB / 1.145 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/1.05, allocations: 47.11 kB / 1.145 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.61e-05/1.05, allocations: 50.78 kB / 1.145 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/1.051, allocations: 0.6488 MB / 1.146 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/1.051, allocations: 0.5 kB / 1.146 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.064e-05/1.051, allocations: 22.44 kB / 1.146 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.963e-05/1.051, allocations: 32.08 kB / 1.146 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008799/1.052, allocations: 0.519 MB / 1.146 GB, free: 4.27 MB / 0.7448 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.003135/1.055, allocations: 2.312 MB / 1.149 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/1.055, allocations: 258.8 kB / 1.149 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/1.056, allocations: 148.7 kB / 1.149 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/1.056, allocations: 3.281 kB / 1.149 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/1.056, allocations: 41.23 kB / 1.149 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 3.036e-06/1.056, allocations: 0 / 1.149 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.001534/1.057, allocations: 0.6925 MB / 1.15 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/1.057, allocations: 80.39 kB / 1.15 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005521/1.058, allocations: 0.5431 MB / 1.15 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/1.058, allocations: 32.83 kB / 1.15 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/1.058, allocations: 327.5 kB / 1.151 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.734e-05/1.058, allocations: 79.7 kB / 1.151 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/1.058, allocations: 7.219 kB / 1.151 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.957e-05/1.058, allocations: 368.4 kB / 1.151 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/1.059, allocations: 129 kB / 1.151 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/1.059, allocations: 227.2 kB / 1.151 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/1.059, allocations: 342.9 kB / 1.152 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.059, allocations: 0 / 1.152 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007997/1.06, allocations: 0.4995 MB / 1.152 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/1.06, allocations: 8.312 kB / 1.152 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/1.06, allocations: 3.25 kB / 1.152 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003077/1.06, allocations: 97.47 kB / 1.152 GB, free: 476 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/1.061, allocations: 75.78 kB / 1.152 GB, free: 468 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002705/1.063, allocations: 3.094 MB / 1.156 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005859/1.064, allocations: 67.75 kB / 1.156 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/1.064, allocations: 17.75 kB / 1.156 GB, free: 13.62 MB / 0.7605 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 (34): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003066/1.064, allocations: 224.7 kB / 1.156 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/1.065, allocations: 54.94 kB / 1.156 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/1.065, allocations: 58.05 kB / 1.156 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.065, allocations: 3.625 kB / 1.156 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/1.065, allocations: 0 / 1.156 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007231/1.065, allocations: 0.5405 MB / 1.156 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/1.067, allocations: 0.9187 MB / 1.157 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.067, allocations: 3.688 kB / 1.157 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/1.067, allocations: 45.72 kB / 1.157 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001906/1.067, allocations: 67.22 kB / 1.157 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/1.067, allocations: 4.062 kB / 1.157 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/1.069, allocations: 1.694 MB / 1.159 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.069, allocations: 0.9375 kB / 1.159 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006414/1.069, allocations: 452 kB / 1.16 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/1.07, allocations: 164.8 kB / 1.16 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.814e-05/1.07, allocations: 7.375 kB / 1.16 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/1.07, allocations: 38.44 kB / 1.16 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.457e-05/1.07, allocations: 23.94 kB / 1.16 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/1.07, allocations: 9.438 kB / 1.16 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004402/1.071, allocations: 395.9 kB / 1.16 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.2e-07/1.071, allocations: 0 / 1.16 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006724/1.072, allocations: 202.7 kB / 1.16 GB, free: 10.28 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003939/1.072, allocations: 170.8 kB / 1.161 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008872/1.073, allocations: 0.5432 MB / 1.161 GB, free: 9.836 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.073, allocations: 64 / 1.161 GB, free: 9.836 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000359/1.073, allocations: 261.1 kB / 1.161 GB, free: 9.676 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/1.075, allocations: 350.7 kB / 1.162 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/1.077, allocations: 1.176 MB / 1.163 GB, free: 8.918 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005953/1.077, allocations: 0.9207 MB / 1.164 GB, free: 8.184 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005789/1.078, allocations: 110 kB / 1.164 GB, free: 8.152 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/1.078, allocations: 39.47 kB / 1.164 GB, free: 8.145 MB / 0.7605 GB Notification: Performance of SimCode: time 8.62e-07/1.078, allocations: 0 / 1.164 GB, free: 8.145 MB / 0.7605 GB Notification: Performance of Templates: time 0.02051/1.098, allocations: 12.17 MB / 1.176 GB, free: 7.391 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)