Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumeHeatConduction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.544/2.544, allocations: 284.7 MB / 297.2 MB, free: 6.348 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.001487/0.001487, allocations: 172.9 kB / 365.6 MB, free: 2.617 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.038/2.038, allocations: 205.1 MB / 0.624 GB, free: 8.227 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.001081/0.00108, allocations: 100.5 kB / 0.7371 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.066e-05/4.075e-05, allocations: 4 kB / 0.8574 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8381/0.8382, allocations: 115.2 MB / 0.9699 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.085/6.923, allocations: 2.071 GB / 3.041 GB, free: 23.96 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/6.924, allocations: 88.64 kB / 3.041 GB, free: 23.91 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.532/8.455, allocations: 263.3 MB / 3.298 GB, free: 150.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.044e-06/8.456, allocations: 0 / 3.298 GB, free: 150.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.648e-05/8.456, allocations: 16 kB / 3.298 GB, free: 150.3 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.002682/8.458, allocations: 0.912 MB / 3.299 GB, free: 149.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/8.458, allocations: 8.031 kB / 3.299 GB, free: 149.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000258/8.459, allocations: 98.52 kB / 3.299 GB, free: 149.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/8.46, allocations: 159 kB / 3.299 GB, free: 149.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/8.462, allocations: 0.5238 MB / 3.3 GB, free: 148.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.076e-05/8.462, allocations: 45.31 kB / 3.3 GB, free: 148.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/8.462, allocations: 52 kB / 3.3 GB, free: 148.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/8.464, allocations: 0.6183 MB / 3.301 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/8.464, allocations: 0 / 3.301 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.156e-05/8.464, allocations: 24 kB / 3.301 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.414e-05/8.464, allocations: 25.3 kB / 3.301 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/8.465, allocations: 473.1 kB / 3.301 GB, free: 147.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004799/8.47, allocations: 2.239 MB / 3.303 GB, free: 144.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006558/8.471, allocations: 230.8 kB / 3.303 GB, free: 144.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/8.471, allocations: 113.8 kB / 3.304 GB, free: 144.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.232e-05/8.471, allocations: 11.92 kB / 3.304 GB, free: 144.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/8.471, allocations: 38.91 kB / 3.304 GB, free: 144.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 3.366e-06/8.471, allocations: 0 / 3.304 GB, free: 144.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.001198/8.472, allocations: 338.5 kB / 3.304 GB, free: 144.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/8.472, allocations: 77.11 kB / 3.304 GB, free: 144.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007934/8.473, allocations: 0.4889 MB / 3.304 GB, free: 143.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.81e-05/8.473, allocations: 29.7 kB / 3.305 GB, free: 143.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/8.474, allocations: 327.5 kB / 3.305 GB, free: 143.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.408e-05/8.474, allocations: 70.95 kB / 3.305 GB, free: 143.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/8.474, allocations: 12 kB / 3.305 GB, free: 143.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001082/8.474, allocations: 362.7 kB / 3.305 GB, free: 142.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/8.474, allocations: 108.6 kB / 3.305 GB, free: 142.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/8.474, allocations: 204.4 kB / 3.306 GB, free: 142.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/8.475, allocations: 151.8 kB / 3.306 GB, free: 142.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/8.475, allocations: 0 / 3.306 GB, free: 142.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001222/8.476, allocations: 466.6 kB / 3.306 GB, free: 141.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/8.476, allocations: 12 kB / 3.306 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/8.476, allocations: 0 / 3.306 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005026/8.477, allocations: 89.59 kB / 3.306 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006011/8.477, allocations: 75.91 kB / 3.306 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003073/8.48, allocations: 2.984 MB / 3.309 GB, free: 138.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/8.481, allocations: 67.47 kB / 3.309 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/8.481, allocations: 16 kB / 3.309 GB, free: 138.3 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.0001603/8.482, allocations: 131.1 kB / 3.309 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/8.482, allocations: 59.34 kB / 3.309 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/8.482, allocations: 56.28 kB / 3.31 GB, free: 138 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/8.482, allocations: 0 / 3.31 GB, free: 138 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/8.482, allocations: 4 kB / 3.31 GB, free: 138 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008096/8.483, allocations: 0.4916 MB / 3.31 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/8.484, allocations: 0.8909 MB / 3.311 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/8.484, allocations: 0 / 3.311 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003868/8.485, allocations: 43.98 kB / 3.311 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003346/8.485, allocations: 57 kB / 3.311 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/8.485, allocations: 8.062 kB / 3.311 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/8.487, allocations: 1.632 MB / 3.313 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/8.487, allocations: 4.031 kB / 3.313 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009233/8.488, allocations: 440.7 kB / 3.313 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/8.488, allocations: 172.4 kB / 3.313 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/8.489, allocations: 0 / 3.313 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000861/8.489, allocations: 31.97 kB / 3.313 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/8.49, allocations: 27.91 kB / 3.313 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.443e-05/8.49, allocations: 12 kB / 3.313 GB, free: 133.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00069/8.49, allocations: 389.5 kB / 3.314 GB, free: 133.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.61e-07/8.49, allocations: 0 / 3.314 GB, free: 133.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001324/8.492, allocations: 291.6 kB / 3.314 GB, free: 133.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 (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.002658/8.494, allocations: 1.951 MB / 3.316 GB, free: 131.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00105/8.495, allocations: 0.4934 MB / 3.316 GB, free: 130.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/8.495, allocations: 0 / 3.316 GB, free: 130.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003841/8.496, allocations: 234.4 kB / 3.317 GB, free: 130.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002933/8.499, allocations: 359.7 kB / 3.317 GB, free: 130.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/8.501, allocations: 0.8012 MB / 3.318 GB, free: 129.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/8.501, allocations: 0.9173 MB / 3.319 GB, free: 128.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007501/8.502, allocations: 112.8 kB / 3.319 GB, free: 128.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003499/8.503, allocations: 187.4 kB / 3.319 GB, free: 128.1 MB / 0.948 GB Notification: Performance of SimCode: time 9.91e-07/8.503, allocations: 0 / 3.319 GB, free: 128.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1055/8.608, allocations: 34.03 MB / 3.352 GB, free: 94.27 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/8.608, allocations: 238 kB / 3.352 GB, free: 93.96 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.015/12.62, allocations: 0 / 3.352 GB, free: 93.96 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)