Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.736/1.736, allocations: 287.5 MB / 302.6 MB, free: 8.34 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.001121/0.001122, allocations: 180.9 kB / 371.2 MB, free: 10.84 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.762/1.762, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0008872/0.0008872, allocations: 88.22 kB / 0.7432 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005054/0.0005056, allocations: 17.09 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2438, allocations: 115.3 MB / 0.9787 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6976/0.9415, allocations: 155.4 MB / 1.13 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006366/0.9479, allocations: 3.992 MB / 1.134 GB, free: 92 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009938/0.9489, allocations: 24.11 kB / 1.134 GB, free: 80 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.95, allocations: 222.8 kB / 1.135 GB, free: 15.99 MB / 0.698 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.00233/0.9523, allocations: 0.743 MB / 1.135 GB, free: 15.66 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.9544, allocations: 0.6081 MB / 1.136 GB, free: 15.5 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002017/0.9564, allocations: 1.524 MB / 1.137 GB, free: 15.23 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005732/0.957, allocations: 398.6 kB / 1.138 GB, free: 15.15 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.9583, allocations: 0.5476 MB / 1.138 GB, free: 15 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000647/0.9589, allocations: 434.1 kB / 1.139 GB, free: 14.89 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.771e-05/0.959, allocations: 22.19 kB / 1.139 GB, free: 14.89 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.9604, allocations: 0.6202 MB / 1.139 GB, free: 14.82 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.9606, allocations: 180.5 kB / 1.139 GB, free: 14.79 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.9608, allocations: 139.8 kB / 1.14 GB, free: 14.75 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009715/0.9618, allocations: 0.7973 MB / 1.14 GB, free: 14.64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.9618, allocations: 0 / 1.14 GB, free: 14.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9618, allocations: 0 / 1.14 GB, free: 14.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.9618, allocations: 4 kB / 1.14 GB, free: 14.64 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001629/0.9635, allocations: 0.8368 MB / 1.141 GB, free: 14.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.9635, allocations: 13.84 kB / 1.141 GB, free: 14.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.9651, allocations: 281 kB / 1.141 GB, free: 14.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008694/0.966, allocations: 493.1 kB / 1.142 GB, free: 13.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003213/0.9664, allocations: 95.5 kB / 1.142 GB, free: 13.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.419e-05/0.9664, allocations: 42.41 kB / 1.142 GB, free: 13.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.9679, allocations: 0.6317 MB / 1.143 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.9679, allocations: 1.75 kB / 1.143 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-05/0.968, allocations: 20.81 kB / 1.143 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/0.968, allocations: 20.23 kB / 1.143 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.9696, allocations: 0.5821 MB / 1.143 GB, free: 13.59 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.0046/0.9742, allocations: 2.304 MB / 1.146 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009982/0.9752, allocations: 323.3 kB / 1.146 GB, free: 12.14 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005679/0.9758, allocations: 187.5 kB / 1.146 GB, free: 12.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.9758, allocations: 1.375 kB / 1.146 GB, free: 12.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.9759, allocations: 37.77 kB / 1.146 GB, free: 12.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.114e-06/0.9759, allocations: 0 / 1.146 GB, free: 12.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.005314/0.9812, allocations: 1.19 MB / 1.147 GB, free: 11.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.9813, allocations: 82.28 kB / 1.147 GB, free: 11.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008148/0.9821, allocations: 0.5507 MB / 1.148 GB, free: 11.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/0.9822, allocations: 31.14 kB / 1.148 GB, free: 11.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.9824, allocations: 294.6 kB / 1.148 GB, free: 11.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.318e-05/0.9825, allocations: 44 kB / 1.148 GB, free: 11.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.661e-05/0.9825, allocations: 3.25 kB / 1.148 GB, free: 11.01 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.9827, allocations: 362.4 kB / 1.149 GB, free: 10.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006535/0.9833, allocations: 216.8 kB / 1.149 GB, free: 10.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006831/0.984, allocations: 303.1 kB / 1.149 GB, free: 10.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.9854, allocations: 440 kB / 1.149 GB, free: 10.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.9854, allocations: 0 / 1.149 GB, free: 10.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002997/0.9884, allocations: 0.7833 MB / 1.15 GB, free: 10.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/0.9884, allocations: 6.25 kB / 1.15 GB, free: 10.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.9885, allocations: 6.062 kB / 1.15 GB, free: 10.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008665/0.9893, allocations: 182.4 kB / 1.15 GB, free: 9.965 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004602/0.9898, allocations: 84.19 kB / 1.15 GB, free: 9.941 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005145/0.995, allocations: 2.192 MB / 1.153 GB, free: 8.391 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009438/0.9959, allocations: 87.53 kB / 1.153 GB, free: 8.352 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.996, allocations: 14.23 kB / 1.153 GB, free: 8.348 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 (26): * Single equations (assignments): 25 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005098/0.9965, allocations: 191.6 kB / 1.153 GB, free: 8.219 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.9966, allocations: 50 kB / 1.153 GB, free: 8.195 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.9968, allocations: 50.52 kB / 1.153 GB, free: 8.176 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.9968, allocations: 1.219 kB / 1.153 GB, free: 8.176 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.9968, allocations: 5.062 kB / 1.153 GB, free: 8.172 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.9968, allocations: 0 / 1.153 GB, free: 8.172 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003246/1, allocations: 1.185 MB / 1.154 GB, free: 7.555 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/1, allocations: 0 / 1.154 GB, free: 7.555 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/1, allocations: 51.61 kB / 1.154 GB, free: 7.535 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000563/1.001, allocations: 193.1 kB / 1.154 GB, free: 7.473 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/1.001, allocations: 7.922 kB / 1.154 GB, free: 7.469 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003533/1.005, allocations: 2.071 MB / 1.156 GB, free: 5.961 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.005, allocations: 0 / 1.156 GB, free: 5.961 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/1.007, allocations: 0.7507 MB / 1.157 GB, free: 5.609 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004402/1.008, allocations: 172.3 kB / 1.157 GB, free: 5.469 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/1.008, allocations: 2.875 kB / 1.157 GB, free: 5.469 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000695/1.009, allocations: 66.81 kB / 1.157 GB, free: 5.445 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/1.009, allocations: 11.55 kB / 1.157 GB, free: 5.441 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.976e-05/1.009, allocations: 15.36 kB / 1.157 GB, free: 5.438 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006335/1.009, allocations: 390.6 kB / 1.158 GB, free: 5.297 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.61e-07/1.009, allocations: 0 / 1.158 GB, free: 5.297 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008831/1.01, allocations: 181.1 kB / 1.158 GB, free: 5.277 MB / 0.698 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 (7): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005373/1.011, allocations: 193.3 kB / 1.158 GB, free: 5.145 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002296/1.013, allocations: 0.64 MB / 1.159 GB, free: 4.887 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.013, allocations: 5.688 kB / 1.159 GB, free: 4.887 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007717/1.014, allocations: 320.8 kB / 1.159 GB, free: 4.715 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/1.016, allocations: 283 kB / 1.159 GB, free: 4.621 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/1.019, allocations: 1.261 MB / 1.161 GB, free: 3.898 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/1.02, allocations: 0.8598 MB / 1.161 GB, free: 3.129 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006407/1.02, allocations: 99.88 kB / 1.162 GB, free: 3.086 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/1.02, allocations: 41.36 kB / 1.162 GB, free: 3.078 MB / 0.698 GB Notification: Performance of SimCode: time 5.82e-07/1.02, allocations: 3.938 kB / 1.162 GB, free: 3.074 MB / 0.698 GB Notification: Performance of Templates: time 0.02367/1.044, allocations: 11.4 MB / 1.173 GB, free: 13.45 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)