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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.482/1.482, allocations: 287.4 MB / 302.6 MB, free: 8.352 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.0008588/0.0008588, allocations: 184.5 kB / 371.1 MB, free: 10.81 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.166/1.166, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0006805/0.0006805, allocations: 103.3 kB / 0.7431 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.000335, allocations: 15.53 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1594, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4639/0.6234, allocations: 155.4 MB / 1.13 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004337/0.6277, allocations: 3.997 MB / 1.134 GB, free: 276 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000345/0.6281, allocations: 16.45 kB / 1.134 GB, free: 272 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005826/0.6287, allocations: 232.1 kB / 1.135 GB, free: 172 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.001418/0.6301, allocations: 0.7381 MB / 1.135 GB, free: 15.84 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.6314, allocations: 0.6051 MB / 1.136 GB, free: 15.68 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001191/0.6326, allocations: 1.526 MB / 1.137 GB, free: 15.41 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004101/0.633, allocations: 394.6 kB / 1.138 GB, free: 15.33 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000786/0.6338, allocations: 0.5584 MB / 1.138 GB, free: 15.18 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004623/0.6343, allocations: 426.6 kB / 1.139 GB, free: 15.07 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.008e-05/0.6344, allocations: 22.41 kB / 1.139 GB, free: 15.07 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008683/0.6352, allocations: 0.6138 MB / 1.139 GB, free: 15 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.6354, allocations: 185 kB / 1.14 GB, free: 14.97 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.707e-05/0.6355, allocations: 137.7 kB / 1.14 GB, free: 14.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006812/0.6362, allocations: 0.7982 MB / 1.14 GB, free: 14.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.6362, allocations: 0 / 1.14 GB, free: 14.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6362, allocations: 4 kB / 1.14 GB, free: 14.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.353e-06/0.6362, allocations: 0.8125 kB / 1.14 GB, free: 14.82 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.001253/0.6375, allocations: 0.8438 MB / 1.141 GB, free: 14.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.6375, allocations: 7.969 kB / 1.141 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.91e-05/0.6376, allocations: 84.16 kB / 1.141 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/0.639, allocations: 278.3 kB / 1.142 GB, free: 14.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000696/0.6397, allocations: 492.3 kB / 1.142 GB, free: 13.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002946/0.64, allocations: 99.89 kB / 1.142 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.21e-05/0.6401, allocations: 39.19 kB / 1.142 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.6412, allocations: 0.64 MB / 1.143 GB, free: 13.74 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.6413, allocations: 0 / 1.143 GB, free: 13.74 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/0.6413, allocations: 24 kB / 1.143 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/0.6413, allocations: 20.88 kB / 1.143 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.6427, allocations: 0.5831 MB / 1.143 GB, free: 13.61 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.003503/0.6462, allocations: 2.304 MB / 1.146 GB, free: 12.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008922/0.6471, allocations: 312.5 kB / 1.146 GB, free: 12.05 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005282/0.6476, allocations: 188.8 kB / 1.146 GB, free: 11.99 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.6477, allocations: 8.031 kB / 1.146 GB, free: 11.99 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.6477, allocations: 39.34 kB / 1.146 GB, free: 11.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.6477, allocations: 0 / 1.146 GB, free: 11.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.004621/0.6523, allocations: 1.187 MB / 1.147 GB, free: 11.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.6524, allocations: 82.55 kB / 1.147 GB, free: 11.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005468/0.6529, allocations: 0.5464 MB / 1.148 GB, free: 11.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.653, allocations: 28.11 kB / 1.148 GB, free: 11.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.6532, allocations: 300.6 kB / 1.148 GB, free: 10.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.6532, allocations: 41.33 kB / 1.148 GB, free: 10.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/0.6532, allocations: 4.406 kB / 1.148 GB, free: 10.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6533, allocations: 358 kB / 1.149 GB, free: 10.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005799/0.6539, allocations: 211.2 kB / 1.149 GB, free: 10.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006129/0.6546, allocations: 298.1 kB / 1.149 GB, free: 10.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.6557, allocations: 447.9 kB / 1.15 GB, free: 10.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.6557, allocations: 1.375 kB / 1.15 GB, free: 10.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002392/0.6581, allocations: 0.7845 MB / 1.15 GB, free: 9.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.6581, allocations: 6.625 kB / 1.15 GB, free: 9.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.6581, allocations: 2.344 kB / 1.15 GB, free: 9.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005527/0.6587, allocations: 190.7 kB / 1.151 GB, free: 9.871 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.659, allocations: 76.69 kB / 1.151 GB, free: 9.852 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003671/0.6627, allocations: 2.194 MB / 1.153 GB, free: 8.305 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005563/0.6633, allocations: 95.12 kB / 1.153 GB, free: 8.258 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.6633, allocations: 11.59 kB / 1.153 GB, free: 8.258 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.0002007/0.6635, allocations: 188.6 kB / 1.153 GB, free: 8.133 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.318e-05/0.6636, allocations: 57.23 kB / 1.153 GB, free: 8.102 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.995e-05/0.6637, allocations: 45.12 kB / 1.153 GB, free: 8.086 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.6637, allocations: 1.062 kB / 1.153 GB, free: 8.086 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.6637, allocations: 9.219 kB / 1.153 GB, free: 8.078 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.6637, allocations: 7.984 kB / 1.153 GB, free: 8.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/0.6665, allocations: 1.178 MB / 1.154 GB, free: 7.457 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6665, allocations: 9.141 kB / 1.154 GB, free: 7.449 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.6668, allocations: 44.7 kB / 1.154 GB, free: 7.438 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004777/0.6673, allocations: 193.5 kB / 1.155 GB, free: 7.375 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.6673, allocations: 8.609 kB / 1.155 GB, free: 7.371 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002949/0.6702, allocations: 2.059 MB / 1.157 GB, free: 5.871 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.6703, allocations: 4.969 kB / 1.157 GB, free: 5.867 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/0.6725, allocations: 0.7552 MB / 1.157 GB, free: 5.512 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.6727, allocations: 167 kB / 1.157 GB, free: 5.375 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.772e-05/0.6728, allocations: 10.7 kB / 1.157 GB, free: 5.371 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000555/0.6734, allocations: 70.45 kB / 1.158 GB, free: 5.344 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.6734, allocations: 9.391 kB / 1.158 GB, free: 5.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-05/0.6735, allocations: 15.8 kB / 1.158 GB, free: 5.336 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003905/0.6739, allocations: 393.7 kB / 1.158 GB, free: 5.191 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6739, allocations: 0 / 1.158 GB, free: 5.191 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005703/0.6745, allocations: 182.6 kB / 1.158 GB, free: 5.172 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.002773/0.6772, allocations: 1.362 MB / 1.159 GB, free: 4.266 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001899/0.6792, allocations: 0.6418 MB / 1.16 GB, free: 4.008 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6792, allocations: 0 / 1.16 GB, free: 4.008 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006639/0.6798, allocations: 331.4 kB / 1.16 GB, free: 3.828 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.6811, allocations: 283.5 kB / 1.161 GB, free: 3.734 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007275/0.6884, allocations: 3.546 MB / 1.164 GB, free: 2.156 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.6888, allocations: 0.8626 MB / 1.165 GB, free: 1.383 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004064/0.6892, allocations: 104.2 kB / 1.165 GB, free: 1.336 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.6894, allocations: 163.3 kB / 1.165 GB, free: 1.312 MB / 0.698 GB Notification: Performance of SimCode: time 3.9e-07/0.6894, allocations: 4 kB / 1.165 GB, free: 1.309 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4561/1.146, allocations: 15.98 MB / 1.181 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/1.146, allocations: 281.4 kB / 1.181 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.08/3.226, allocations: 0 / 1.181 GB, free: 9.301 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)