Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumeHeatConduction,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.825/1.825, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.001027/0.001027, allocations: 184.6 kB / 371.6 MB, free: 3.398 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.936/1.936, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.0009095/0.0009096, allocations: 87.02 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.395e-05/5.398e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3581, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.178/7.536, allocations: 2.072 GB / 3.052 GB, free: 128 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/7.537, allocations: 92.5 kB / 3.052 GB, free: 127.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.379/8.916, allocations: 263.3 MB / 3.309 GB, free: 213.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.024e-06/8.916, allocations: 1 kB / 3.309 GB, free: 213.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.332e-05/8.916, allocations: 16.78 kB / 3.309 GB, free: 213.7 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.00221/8.918, allocations: 0.9011 MB / 3.31 GB, free: 213.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.656e-05/8.918, allocations: 13.31 kB / 3.31 GB, free: 213.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001307/8.918, allocations: 95.33 kB / 3.31 GB, free: 213 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/8.919, allocations: 163.2 kB / 3.31 GB, free: 212.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/8.92, allocations: 0.5311 MB / 3.311 GB, free: 212.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.149e-05/8.921, allocations: 44.22 kB / 3.311 GB, free: 212.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.676e-05/8.921, allocations: 51.12 kB / 3.311 GB, free: 212.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/8.922, allocations: 0.6123 MB / 3.312 GB, free: 212.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/8.922, allocations: 0 / 3.312 GB, free: 212.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-05/8.922, allocations: 26.56 kB / 3.312 GB, free: 212.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/8.922, allocations: 20.12 kB / 3.312 GB, free: 212.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008701/8.923, allocations: 474.8 kB / 3.312 GB, free: 212.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003471/8.926, allocations: 2.25 MB / 3.314 GB, free: 210.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004866/8.927, allocations: 224.7 kB / 3.315 GB, free: 210.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/8.927, allocations: 122.5 kB / 3.315 GB, free: 210.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/8.927, allocations: 7.531 kB / 3.315 GB, free: 210.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/8.927, allocations: 38.38 kB / 3.315 GB, free: 210.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 2.976e-06/8.927, allocations: 0 / 3.315 GB, free: 210.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.0008865/8.928, allocations: 326 kB / 3.315 GB, free: 210.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/8.928, allocations: 85.11 kB / 3.315 GB, free: 210.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005625/8.929, allocations: 498.5 kB / 3.316 GB, free: 210 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/8.929, allocations: 29.61 kB / 3.316 GB, free: 209.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/8.929, allocations: 332 kB / 3.316 GB, free: 209.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.496e-05/8.929, allocations: 67.75 kB / 3.316 GB, free: 209.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.948e-05/8.929, allocations: 11.84 kB / 3.316 GB, free: 209.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001186/8.929, allocations: 361.8 kB / 3.316 GB, free: 209.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/8.929, allocations: 108 kB / 3.316 GB, free: 209.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/8.93, allocations: 215.1 kB / 3.317 GB, free: 209.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/8.93, allocations: 147 kB / 3.317 GB, free: 209 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/8.93, allocations: 0 / 3.317 GB, free: 209 MB / 0.948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007558/8.931, allocations: 474.8 kB / 3.317 GB, free: 208.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/8.931, allocations: 10.28 kB / 3.317 GB, free: 208.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/8.931, allocations: 0 / 3.317 GB, free: 208.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000353/8.931, allocations: 90.91 kB / 3.317 GB, free: 208.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/8.931, allocations: 76.16 kB / 3.317 GB, free: 208.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/8.934, allocations: 2.986 MB / 3.32 GB, free: 206 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007031/8.934, allocations: 69.38 kB / 3.32 GB, free: 205.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/8.935, allocations: 11.88 kB / 3.32 GB, free: 205.9 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 (34): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001471/8.935, allocations: 126.5 kB / 3.32 GB, free: 205.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/8.935, allocations: 57.03 kB / 3.321 GB, free: 205.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/8.935, allocations: 58.45 kB / 3.321 GB, free: 205.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/8.935, allocations: 0 / 3.321 GB, free: 205.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/8.935, allocations: 0 / 3.321 GB, free: 205.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006091/8.936, allocations: 0.5063 MB / 3.321 GB, free: 205.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/8.937, allocations: 0.8811 MB / 3.322 GB, free: 204.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/8.937, allocations: 4 kB / 3.322 GB, free: 204.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/8.937, allocations: 46.86 kB / 3.322 GB, free: 204.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002021/8.937, allocations: 62.62 kB / 3.322 GB, free: 204.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/8.937, allocations: 3.812 kB / 3.322 GB, free: 204.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/8.939, allocations: 1.619 MB / 3.324 GB, free: 203.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/8.939, allocations: 0 / 3.324 GB, free: 203.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000586/8.939, allocations: 440.5 kB / 3.324 GB, free: 203 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/8.94, allocations: 170.7 kB / 3.324 GB, free: 202.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.273e-05/8.94, allocations: 7.016 kB / 3.324 GB, free: 202.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004595/8.94, allocations: 33.83 kB / 3.324 GB, free: 202.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/8.94, allocations: 22.38 kB / 3.324 GB, free: 202.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/8.94, allocations: 15.09 kB / 3.324 GB, free: 202.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004494/8.941, allocations: 385.2 kB / 3.325 GB, free: 202.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.654e-06/8.941, allocations: 0 / 3.325 GB, free: 202.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001175/8.942, allocations: 301.7 kB / 3.325 GB, free: 202.6 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 (15): * Single equations (assignments): 14 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002802/8.945, allocations: 1.953 MB / 3.327 GB, free: 201.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008816/8.946, allocations: 494 kB / 3.327 GB, free: 201.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/8.946, allocations: 0.5625 kB / 3.327 GB, free: 201.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002828/8.946, allocations: 236.9 kB / 3.328 GB, free: 200.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/8.948, allocations: 352 kB / 3.328 GB, free: 200.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/8.949, allocations: 0.7932 MB / 3.329 GB, free: 200.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/8.95, allocations: 0.9145 MB / 3.33 GB, free: 199.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004742/8.95, allocations: 107.5 kB / 3.33 GB, free: 199.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/8.95, allocations: 191.8 kB / 3.33 GB, free: 199.5 MB / 0.948 GB Notification: Performance of SimCode: time 4.21e-07/8.95, allocations: 0 / 3.33 GB, free: 199.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06361/9.014, allocations: 34.04 MB / 3.363 GB, free: 187.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/9.014, allocations: 227.9 kB / 3.363 GB, free: 187 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.345/12.36, allocations: 3.938 kB / 3.363 GB, free: 187 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)