Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.65/1.65, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 178.6 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 91.72 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004213/0.0004216, allocations: 11.09 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2522, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1671/0.4193, allocations: 143.2 MB / 1.04 GB, free: 300 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006382/0.4258, allocations: 4.172 MB / 1.044 GB, free: 12.11 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007941/0.4266, allocations: 19.88 kB / 1.044 GB, free: 12.09 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.4277, allocations: 330.5 kB / 1.044 GB, free: 11.77 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003173/0.4309, allocations: 1.021 MB / 1.045 GB, free: 10.75 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.4332, allocations: 0.8066 MB / 1.046 GB, free: 9.945 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001475/0.4347, allocations: 0.817 MB / 1.047 GB, free: 9.129 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005489/0.4353, allocations: 380.4 kB / 1.047 GB, free: 8.758 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009447/0.4362, allocations: 0.514 MB / 1.048 GB, free: 8.242 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005033/0.4367, allocations: 330.8 kB / 1.048 GB, free: 7.918 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.422e-05/0.4368, allocations: 24 kB / 1.048 GB, free: 7.895 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.438, allocations: 0.5811 MB / 1.049 GB, free: 7.312 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.4382, allocations: 179.5 kB / 1.049 GB, free: 7.137 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.4384, allocations: 153.4 kB / 1.049 GB, free: 6.98 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008996/0.4393, allocations: 0.7915 MB / 1.05 GB, free: 6.188 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4393, allocations: 0 / 1.05 GB, free: 6.188 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4393, allocations: 7.938 kB / 1.05 GB, free: 6.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.4393, allocations: 0 / 1.05 GB, free: 6.18 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001556/0.4409, allocations: 0.8377 MB / 1.051 GB, free: 5.289 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.441, allocations: 12.03 kB / 1.051 GB, free: 5.277 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/0.4411, allocations: 90.45 kB / 1.051 GB, free: 5.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/0.4426, allocations: 279 kB / 1.051 GB, free: 4.906 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000882/0.4435, allocations: 477.7 kB / 1.051 GB, free: 4.398 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000333/0.4438, allocations: 100.9 kB / 1.052 GB, free: 4.301 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.4439, allocations: 44 kB / 1.052 GB, free: 4.258 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.4452, allocations: 0.642 MB / 1.052 GB, free: 3.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.4452, allocations: 0 / 1.052 GB, free: 3.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.4453, allocations: 20 kB / 1.052 GB, free: 3.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.746e-05/0.4453, allocations: 32.89 kB / 1.052 GB, free: 3.539 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.4468, allocations: 0.5816 MB / 1.053 GB, free: 2.957 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.004382/0.4512, allocations: 2.319 MB / 1.055 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.4522, allocations: 314.3 kB / 1.055 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.4523, allocations: 0 / 1.055 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.4523, allocations: 34.56 kB / 1.055 GB, free: 152 kB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.903e-06/0.4523, allocations: 3.938 kB / 1.055 GB, free: 148 kB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.5761/1.028, allocations: 1.179 MB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/1.029, allocations: 83.92 kB / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007268/1.029, allocations: 0.5604 MB / 1.057 GB, free: 156.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.095e-05/1.029, allocations: 28.55 kB / 1.057 GB, free: 156 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/1.03, allocations: 309.7 kB / 1.058 GB, free: 155.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/1.03, allocations: 47.09 kB / 1.058 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/1.03, allocations: 6.406 kB / 1.058 GB, free: 155.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.03, allocations: 358.3 kB / 1.058 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000582/1.03, allocations: 202.9 kB / 1.058 GB, free: 155.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006373/1.031, allocations: 293.5 kB / 1.058 GB, free: 155.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000603/1.032, allocations: 218.4 kB / 1.059 GB, free: 155.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/1.032, allocations: 2.625 kB / 1.059 GB, free: 155.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002745/1.034, allocations: 0.7804 MB / 1.059 GB, free: 155.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/1.034, allocations: 8.438 kB / 1.059 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/1.035, allocations: 2.844 kB / 1.059 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006913/1.035, allocations: 186.7 kB / 1.06 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/1.036, allocations: 83.36 kB / 1.06 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003763/1.039, allocations: 2.128 MB / 1.062 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007477/1.04, allocations: 98.44 kB / 1.062 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/1.04, allocations: 12.88 kB / 1.062 GB, free: 154.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0003419/1.041, allocations: 196 kB / 1.062 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.953e-05/1.041, allocations: 58.25 kB / 1.062 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.936e-05/1.041, allocations: 49.31 kB / 1.062 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/1.041, allocations: 3.531 kB / 1.062 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.041, allocations: 4.75 kB / 1.062 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.041, allocations: 4.469 kB / 1.062 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/1.044, allocations: 1.199 MB / 1.063 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/1.044, allocations: 0 / 1.063 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/1.044, allocations: 51.12 kB / 1.063 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005745/1.045, allocations: 190.5 kB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/1.045, allocations: 4.141 kB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003409/1.048, allocations: 2.09 MB / 1.066 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.048, allocations: 4.062 kB / 1.066 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00286/1.051, allocations: 0.781 MB / 1.066 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004606/1.052, allocations: 178.3 kB / 1.067 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.616e-05/1.052, allocations: 5.656 kB / 1.067 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000682/1.052, allocations: 67.09 kB / 1.067 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.691e-05/1.053, allocations: 16.66 kB / 1.067 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.696e-05/1.053, allocations: 20.44 kB / 1.067 GB, free: 151.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000835/1.054, allocations: 398 kB / 1.067 GB, free: 151.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/1.054, allocations: 0 / 1.067 GB, free: 151.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009771/1.055, allocations: 166.5 kB / 1.067 GB, free: 151.7 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.003711/1.058, allocations: 1.532 MB / 1.069 GB, free: 150.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001902/1.06, allocations: 0.5551 MB / 1.069 GB, free: 150.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/1.06, allocations: 5.562 kB / 1.069 GB, free: 150.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008302/1.061, allocations: 328.6 kB / 1.07 GB, free: 150.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/1.063, allocations: 293.4 kB / 1.07 GB, free: 150.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009902/1.073, allocations: 5.216 MB / 1.075 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/1.073, allocations: 0.8819 MB / 1.076 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006788/1.074, allocations: 108.6 kB / 1.076 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/1.074, allocations: 164.7 kB / 1.076 GB, free: 147.1 MB / 0.698 GB Notification: Performance of SimCode: time 5.31e-07/1.074, allocations: 0 / 1.076 GB, free: 147.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03601/1.11, allocations: 16.36 MB / 1.092 GB, free: 137.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/1.11, allocations: 288.2 kB / 1.092 GB, free: 137.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.788/3.898, allocations: 3.094 kB / 1.092 GB, free: 137.5 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)