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 2.738/2.738, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.001577/0.001577, allocations: 182.4 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.159/2.159, allocations: 205.4 MB / 0.6295 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.00113/0.00113, allocations: 85.03 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004979/0.0004979, allocations: 15.83 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.23, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.821/7.051, allocations: 2.071 GB / 3.049 GB, free: 187.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/7.052, allocations: 98.75 kB / 3.049 GB, free: 187.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.961/9.012, allocations: 390.5 MB / 3.431 GB, free: 180.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.745e-06/9.012, allocations: 0 / 3.431 GB, free: 180.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.088e-05/9.012, allocations: 16 kB / 3.431 GB, free: 180.2 MB / 0.948 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.002572/9.015, allocations: 0.9387 MB / 3.432 GB, free: 179.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/9.015, allocations: 12.03 kB / 3.432 GB, free: 179.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001533/9.015, allocations: 86.52 kB / 3.432 GB, free: 179.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00257/9.018, allocations: 267 kB / 3.432 GB, free: 178.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/9.019, allocations: 481.8 kB / 3.433 GB, free: 178.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005792/9.02, allocations: 96.94 kB / 3.433 GB, free: 178.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.373e-05/9.02, allocations: 40 kB / 3.433 GB, free: 178.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/9.022, allocations: 0.632 MB / 3.433 GB, free: 177.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/9.022, allocations: 4 kB / 3.433 GB, free: 177.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-05/9.022, allocations: 23.94 kB / 3.433 GB, free: 177.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.708e-05/9.022, allocations: 17 kB / 3.433 GB, free: 177.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/9.025, allocations: 0.5777 MB / 3.434 GB, free: 176.9 MB / 0.948 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.005247/9.03, allocations: 2.163 MB / 3.436 GB, free: 174.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/9.031, allocations: 282.3 kB / 3.436 GB, free: 174.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/9.031, allocations: 4 kB / 3.436 GB, free: 174.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/9.031, allocations: 42.55 kB / 3.436 GB, free: 174.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 4.338e-06/9.031, allocations: 3.984 kB / 3.436 GB, free: 174.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.008819/9.04, allocations: 1.123 MB / 3.437 GB, free: 173.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/9.04, allocations: 81.11 kB / 3.437 GB, free: 173.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009119/9.041, allocations: 0.4901 MB / 3.438 GB, free: 172.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.869e-05/9.041, allocations: 29.7 kB / 3.438 GB, free: 172.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/9.042, allocations: 299.5 kB / 3.438 GB, free: 172.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/9.042, allocations: 43.39 kB / 3.438 GB, free: 172.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/9.042, allocations: 8 kB / 3.438 GB, free: 172.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001023/9.042, allocations: 350.8 kB / 3.439 GB, free: 171.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009697/9.043, allocations: 203.8 kB / 3.439 GB, free: 171.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/9.044, allocations: 279 kB / 3.439 GB, free: 171.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009976/9.045, allocations: 201.6 kB / 3.439 GB, free: 171.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/9.045, allocations: 8 kB / 3.439 GB, free: 171.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.004546/9.049, allocations: 0.7436 MB / 3.44 GB, free: 170.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/9.049, allocations: 4 kB / 3.44 GB, free: 170.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/9.05, allocations: 4 kB / 3.44 GB, free: 170.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009057/9.05, allocations: 172.8 kB / 3.44 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006782/9.051, allocations: 75.84 kB / 3.44 GB, free: 170.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006618/9.058, allocations: 2.148 MB / 3.442 GB, free: 167.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/9.059, allocations: 99.75 kB / 3.442 GB, free: 167.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.124e-05/9.059, allocations: 16 kB / 3.443 GB, free: 167.7 MB / 0.948 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.0003938/9.059, allocations: 189.7 kB / 3.443 GB, free: 167.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/9.06, allocations: 47.44 kB / 3.443 GB, free: 167.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/9.06, allocations: 55.95 kB / 3.443 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/9.06, allocations: 11.89 kB / 3.443 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/9.06, allocations: 0 / 3.443 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/9.06, allocations: 0 / 3.443 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004833/9.065, allocations: 1.125 MB / 3.444 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/9.065, allocations: 4.062 kB / 3.444 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004118/9.065, allocations: 43.95 kB / 3.444 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007933/9.066, allocations: 168.7 kB / 3.444 GB, free: 166 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/9.066, allocations: 4 kB / 3.444 GB, free: 166 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005063/9.071, allocations: 2.018 MB / 3.446 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/9.071, allocations: 7.891 kB / 3.446 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004223/9.075, allocations: 0.7388 MB / 3.447 GB, free: 163.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/9.076, allocations: 164.4 kB / 3.447 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/9.076, allocations: 4 kB / 3.447 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/9.077, allocations: 63.94 kB / 3.447 GB, free: 162.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/9.077, allocations: 7.984 kB / 3.447 GB, free: 162.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/9.077, allocations: 19.98 kB / 3.447 GB, free: 162.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006436/9.078, allocations: 394.8 kB / 3.447 GB, free: 162.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.71e-07/9.078, allocations: 4 kB / 3.447 GB, free: 162.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001329/9.079, allocations: 267.7 kB / 3.448 GB, free: 162.2 MB / 0.948 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.006257/9.085, allocations: 2.312 MB / 3.45 GB, free: 159.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003425/9.089, allocations: 0.6077 MB / 3.451 GB, free: 159.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/9.089, allocations: 4 kB / 3.451 GB, free: 159.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/9.09, allocations: 306.9 kB / 3.451 GB, free: 158.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/9.093, allocations: 294.7 kB / 3.451 GB, free: 158.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/9.106, allocations: 4.806 MB / 3.456 GB, free: 153.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/9.106, allocations: 0.8701 MB / 3.457 GB, free: 152.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000802/9.107, allocations: 108.5 kB / 3.457 GB, free: 152.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/9.108, allocations: 155.4 kB / 3.457 GB, free: 152.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.132e-06/9.108, allocations: 3.938 kB / 3.457 GB, free: 152.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08023/9.188, allocations: 31.11 MB / 3.487 GB, free: 121.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002855/9.188, allocations: 270.2 kB / 3.488 GB, free: 121.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.76/12.95, allocations: 0 / 3.488 GB, free: 121.4 MB / 0.948 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)