Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.593/1.593, allocations: 288.4 MB / 303.6 MB, free: 8.008 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.0009018/0.0009018, allocations: 182.7 kB / 372.2 MB, free: 10.12 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.218/1.218, allocations: 205.4 MB / 0.631 GB, free: 9.922 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.0009076/0.0009078, allocations: 98.36 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003409, allocations: 16.09 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1465, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4366/0.5832, allocations: 155.4 MB / 1.132 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004156/0.5874, allocations: 3.995 MB / 1.136 GB, free: 412 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/0.5877, allocations: 15.81 kB / 1.136 GB, free: 404 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000618/0.5883, allocations: 273.2 kB / 1.136 GB, free: 300 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. [/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.001454/0.5898, allocations: 0.8754 MB / 1.137 GB, free: 15.93 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.5912, allocations: 0.6378 MB / 1.138 GB, free: 15.77 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001105/0.5923, allocations: 1.523 MB / 1.139 GB, free: 15.5 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004125/0.5927, allocations: 404.1 kB / 1.139 GB, free: 15.42 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007874/0.5935, allocations: 0.573 MB / 1.14 GB, free: 15.26 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005937/0.5941, allocations: 429.5 kB / 1.14 GB, free: 15.15 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.558e-05/0.5942, allocations: 21.91 kB / 1.14 GB, free: 15.15 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.5953, allocations: 0.9812 MB / 1.141 GB, free: 14.99 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.5955, allocations: 181.1 kB / 1.142 GB, free: 14.94 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.5957, allocations: 304 kB / 1.142 GB, free: 14.81 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006836/0.5964, allocations: 0.8257 MB / 1.143 GB, free: 14.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5964, allocations: 0 / 1.143 GB, free: 14.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5965, allocations: 0 / 1.143 GB, free: 14.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.5965, allocations: 5.203 kB / 1.143 GB, free: 14.38 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.001165/0.5976, allocations: 0.8286 MB / 1.143 GB, free: 13.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.5977, allocations: 8.75 kB / 1.143 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.019e-05/0.5978, allocations: 85.83 kB / 1.144 GB, free: 13.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.5992, allocations: 290 kB / 1.144 GB, free: 13.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006717/0.5999, allocations: 485.3 kB / 1.144 GB, free: 13.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002849/0.6002, allocations: 102.5 kB / 1.144 GB, free: 13.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.6002, allocations: 40 kB / 1.144 GB, free: 13.19 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.6013, allocations: 0.6295 MB / 1.145 GB, free: 12.97 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.6013, allocations: 1.5 kB / 1.145 GB, free: 12.97 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/0.6014, allocations: 20.22 kB / 1.145 GB, free: 12.97 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.923e-05/0.6014, allocations: 25.27 kB / 1.145 GB, free: 12.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.6027, allocations: 0.5812 MB / 1.146 GB, free: 12.84 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.003365/0.6061, allocations: 2.297 MB / 1.148 GB, free: 11.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009148/0.607, allocations: 321.7 kB / 1.148 GB, free: 11.28 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/0.6076, allocations: 187.7 kB / 1.148 GB, free: 11.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.6076, allocations: 6.641 kB / 1.148 GB, free: 11.22 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.6077, allocations: 32.66 kB / 1.148 GB, free: 11.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.264e-06/0.6077, allocations: 3.984 kB / 1.148 GB, free: 11.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.004791/0.6125, allocations: 1.19 MB / 1.15 GB, free: 10.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.6125, allocations: 82.3 kB / 1.15 GB, free: 10.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005561/0.6131, allocations: 0.5519 MB / 1.15 GB, free: 10.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.6131, allocations: 30.17 kB / 1.15 GB, free: 10.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.6133, allocations: 298.5 kB / 1.151 GB, free: 10.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.6133, allocations: 38.48 kB / 1.151 GB, free: 10.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.845e-05/0.6134, allocations: 7.281 kB / 1.151 GB, free: 10.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.727e-05/0.6135, allocations: 361.3 kB / 1.151 GB, free: 9.805 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005817/0.6141, allocations: 210 kB / 1.151 GB, free: 9.754 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006196/0.6147, allocations: 300.7 kB / 1.151 GB, free: 9.594 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.6158, allocations: 448 kB / 1.152 GB, free: 9.418 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.6158, allocations: 5 kB / 1.152 GB, free: 9.414 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00247/0.6183, allocations: 0.7813 MB / 1.153 GB, free: 9.148 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.6183, allocations: 5.906 kB / 1.153 GB, free: 9.148 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.6183, allocations: 5.578 kB / 1.153 GB, free: 9.145 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005959/0.6189, allocations: 188.6 kB / 1.153 GB, free: 9.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/0.6193, allocations: 76.53 kB / 1.153 GB, free: 9.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003797/0.6231, allocations: 2.195 MB / 1.155 GB, free: 7.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005656/0.6237, allocations: 94.41 kB / 1.155 GB, free: 7.473 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.6237, allocations: 12.56 kB / 1.155 GB, free: 7.473 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.0002021/0.6239, allocations: 186.9 kB / 1.155 GB, free: 7.348 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.167e-05/0.624, allocations: 53.12 kB / 1.155 GB, free: 7.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.07e-05/0.6241, allocations: 51.42 kB / 1.155 GB, free: 7.301 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.6241, allocations: 5.438 kB / 1.155 GB, free: 7.297 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6241, allocations: 3.938 kB / 1.155 GB, free: 7.293 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.6242, allocations: 1.344 kB / 1.155 GB, free: 7.293 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002896/0.6271, allocations: 1.189 MB / 1.157 GB, free: 6.668 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.6271, allocations: 1.031 kB / 1.157 GB, free: 6.668 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.6273, allocations: 50.98 kB / 1.157 GB, free: 6.652 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004881/0.6278, allocations: 188.6 kB / 1.157 GB, free: 6.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.6278, allocations: 5.344 kB / 1.157 GB, free: 6.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003043/0.6309, allocations: 2.07 MB / 1.159 GB, free: 5.078 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6309, allocations: 1.281 kB / 1.159 GB, free: 5.078 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.6332, allocations: 0.7509 MB / 1.16 GB, free: 4.727 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.6334, allocations: 167.9 kB / 1.16 GB, free: 4.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/0.6335, allocations: 2.094 kB / 1.16 GB, free: 4.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005627/0.634, allocations: 68.98 kB / 1.16 GB, free: 4.566 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.6341, allocations: 16.86 kB / 1.16 GB, free: 4.559 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.003e-05/0.6341, allocations: 11.95 kB / 1.16 GB, free: 4.555 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000375/0.6345, allocations: 389.3 kB / 1.16 GB, free: 4.418 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.062e-06/0.6345, allocations: 3.938 kB / 1.16 GB, free: 4.414 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005631/0.6351, allocations: 191.3 kB / 1.16 GB, free: 4.387 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.002749/0.6379, allocations: 1.367 MB / 1.162 GB, free: 3.473 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001947/0.6398, allocations: 0.6431 MB / 1.162 GB, free: 3.211 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6398, allocations: 1.812 kB / 1.162 GB, free: 3.211 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006975/0.6405, allocations: 329.2 kB / 1.163 GB, free: 3.035 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.6419, allocations: 297 kB / 1.163 GB, free: 2.934 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007343/0.6493, allocations: 3.551 MB / 1.166 GB, free: 1.344 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.6497, allocations: 0.862 MB / 1.167 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003856/0.6501, allocations: 105.1 kB / 1.167 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.6502, allocations: 159.1 kB / 1.167 GB, free: 0.5 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/0.6502, allocations: 0 / 1.167 GB, free: 0.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.999/1.649, allocations: 16.12 MB / 1.183 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002737/1.65, allocations: 288 kB / 1.183 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.74/4.389, allocations: 2.188 kB / 1.183 GB, free: 8.387 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)