Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.576/1.576, allocations: 289.7 MB / 302.2 MB, free: 2.137 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.001019/0.001019, allocations: 183.2 kB / 371.6 MB, free: 3.379 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.66/1.66, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008804/0.0008805, allocations: 90.06 kB / 0.745 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.79e-05/3.794e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2925, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.945/7.237, allocations: 2.072 GB / 3.052 GB, free: 122.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00037/7.238, allocations: 87.95 kB / 3.052 GB, free: 122.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.694/8.932, allocations: 390.1 MB / 3.433 GB, free: 113.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.462e-06/8.932, allocations: 0 / 3.433 GB, free: 113.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.86e-05/8.932, allocations: 15.94 kB / 3.433 GB, free: 113.8 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.001836/8.934, allocations: 0.8764 MB / 3.434 GB, free: 112.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/8.934, allocations: 8.031 kB / 3.434 GB, free: 112.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.247e-05/8.934, allocations: 86.52 kB / 3.434 GB, free: 112.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/8.935, allocations: 259.1 kB / 3.434 GB, free: 112.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008876/8.936, allocations: 480.2 kB / 3.435 GB, free: 112 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003088/8.936, allocations: 100.9 kB / 3.435 GB, free: 111.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/8.936, allocations: 48.84 kB / 3.435 GB, free: 111.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008196/8.937, allocations: 0.5383 MB / 3.435 GB, free: 111.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/8.937, allocations: 1.031 kB / 3.435 GB, free: 111.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.387e-05/8.937, allocations: 20 kB / 3.435 GB, free: 111.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.923e-05/8.937, allocations: 21 kB / 3.435 GB, free: 111.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006007/8.938, allocations: 411.8 kB / 3.436 GB, free: 110.8 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.003104/8.941, allocations: 2.167 MB / 3.438 GB, free: 108.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/8.941, allocations: 146.5 kB / 3.438 GB, free: 108.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/8.942, allocations: 85.05 kB / 3.438 GB, free: 108.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/8.942, allocations: 11.94 kB / 3.438 GB, free: 108.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/8.942, allocations: 34.56 kB / 3.438 GB, free: 108.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 2.956e-06/8.942, allocations: 0 / 3.438 GB, free: 108.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.001599/8.943, allocations: 433.6 kB / 3.439 GB, free: 107.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/8.943, allocations: 85.06 kB / 3.439 GB, free: 107.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004973/8.944, allocations: 488.7 kB / 3.439 GB, free: 107.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/8.944, allocations: 29.7 kB / 3.439 GB, free: 107.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/8.944, allocations: 303.2 kB / 3.439 GB, free: 106.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/8.944, allocations: 39.48 kB / 3.439 GB, free: 106.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/8.944, allocations: 4 kB / 3.439 GB, free: 106.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/8.944, allocations: 362.8 kB / 3.44 GB, free: 106.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/8.944, allocations: 104 kB / 3.44 GB, free: 106.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/8.945, allocations: 190.4 kB / 3.44 GB, free: 106.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/8.945, allocations: 126 kB / 3.44 GB, free: 106 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/8.945, allocations: 4 kB / 3.44 GB, free: 106 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001576/8.946, allocations: 0.5609 MB / 3.441 GB, free: 105.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/8.946, allocations: 4.094 kB / 3.441 GB, free: 105.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/8.946, allocations: 8 kB / 3.441 GB, free: 105.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004155/8.947, allocations: 128.7 kB / 3.441 GB, free: 105.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/8.947, allocations: 87.89 kB / 3.441 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/8.95, allocations: 1.93 MB / 3.443 GB, free: 103.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000615/8.951, allocations: 95.53 kB / 3.443 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/8.951, allocations: 12 kB / 3.443 GB, free: 103.1 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 () * 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.000129/8.951, allocations: 124.8 kB / 3.443 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.05e-05/8.951, allocations: 51.44 kB / 3.443 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/8.951, allocations: 48.08 kB / 3.443 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/8.951, allocations: 0 / 3.443 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/8.951, allocations: 8.188 kB / 3.443 GB, free: 102.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/8.951, allocations: 0 / 3.443 GB, free: 102.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/8.953, allocations: 0.9416 MB / 3.444 GB, free: 101.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/8.953, allocations: 0 / 3.444 GB, free: 101.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/8.953, allocations: 51.89 kB / 3.444 GB, free: 101.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002945/8.954, allocations: 128.8 kB / 3.444 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/8.954, allocations: 7.984 kB / 3.444 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/8.956, allocations: 1.8 MB / 3.446 GB, free: 99.71 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/8.956, allocations: 0 / 3.446 GB, free: 99.71 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/8.957, allocations: 0.5591 MB / 3.447 GB, free: 99.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/8.957, allocations: 160.5 kB / 3.447 GB, free: 98.94 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.834e-05/8.957, allocations: 4.188 kB / 3.447 GB, free: 98.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005579/8.958, allocations: 71.89 kB / 3.447 GB, free: 98.87 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/8.958, allocations: 15.98 kB / 3.447 GB, free: 98.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/8.958, allocations: 11.98 kB / 3.447 GB, free: 98.84 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004287/8.958, allocations: 385.5 kB / 3.447 GB, free: 98.46 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/8.958, allocations: 0 / 3.447 GB, free: 98.46 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001115/8.96, allocations: 267.8 kB / 3.447 GB, free: 98.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 () * 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.003203/8.963, allocations: 2.151 MB / 3.45 GB, free: 96.01 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001194/8.964, allocations: 454.4 kB / 3.45 GB, free: 95.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/8.964, allocations: 0 / 3.45 GB, free: 95.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002538/8.964, allocations: 210.5 kB / 3.45 GB, free: 95.34 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/8.966, allocations: 300.9 kB / 3.451 GB, free: 95.04 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/8.968, allocations: 0.8453 MB / 3.451 GB, free: 94.15 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/8.969, allocations: 0.8741 MB / 3.452 GB, free: 93.25 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004378/8.969, allocations: 100.5 kB / 3.452 GB, free: 93.15 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/8.969, allocations: 159.4 kB / 3.452 GB, free: 92.99 MB / 0.948 GB Notification: Performance of SimCode: time 8.52e-07/8.969, allocations: 0 / 3.452 GB, free: 92.99 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05827/9.027, allocations: 33.73 MB / 3.485 GB, free: 59.46 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/9.028, allocations: 240.3 kB / 3.486 GB, free: 59.14 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.421/12.45, allocations: 0 / 3.486 GB, free: 59.14 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)