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.565/2.565, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001489/0.001489, allocations: 172.9 kB / 360.6 MB, free: 7.285 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.086/2.086, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001464/0.001464, allocations: 90.02 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.904e-05/2.913e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8131/0.8131, allocations: 115.3 MB / 0.9634 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.211/7.024, allocations: 2.07 GB / 3.034 GB, free: 46.59 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/7.024, allocations: 86.06 kB / 3.034 GB, free: 46.54 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.699/8.723, allocations: 260.1 MB / 3.288 GB, free: 179.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.024e-06/8.723, allocations: 0 / 3.288 GB, free: 179.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.864e-05/8.723, allocations: 19.94 kB / 3.288 GB, free: 179 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.002459/8.725, allocations: 0.9003 MB / 3.289 GB, free: 178.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/8.725, allocations: 12.03 kB / 3.289 GB, free: 178.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/8.727, allocations: 160.2 kB / 3.289 GB, free: 177.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/8.729, allocations: 0.5314 MB / 3.289 GB, free: 177.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/8.729, allocations: 16 kB / 3.29 GB, free: 177.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.717e-05/8.729, allocations: 32 kB / 3.29 GB, free: 177.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001154/8.73, allocations: 446.5 kB / 3.29 GB, free: 176.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/8.731, allocations: 0.537 MB / 3.29 GB, free: 176.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/8.731, allocations: 0 / 3.29 GB, free: 176.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.273e-05/8.731, allocations: 4 kB / 3.29 GB, free: 176.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.457e-05/8.731, allocations: 25.25 kB / 3.291 GB, free: 176.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004735/8.736, allocations: 2.097 MB / 3.293 GB, free: 174 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005816/8.737, allocations: 214.8 kB / 3.293 GB, free: 173.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/8.737, allocations: 108.8 kB / 3.293 GB, free: 173.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.864e-05/8.737, allocations: 8 kB / 3.293 GB, free: 173.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/8.737, allocations: 38.56 kB / 3.293 GB, free: 173.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 2.615e-06/8.737, allocations: 0 / 3.293 GB, free: 173.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.001121/8.738, allocations: 304.9 kB / 3.293 GB, free: 173.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/8.738, allocations: 89.03 kB / 3.293 GB, free: 173.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005455/8.739, allocations: 361.1 kB / 3.294 GB, free: 172.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.57e-05/8.739, allocations: 29.7 kB / 3.294 GB, free: 172.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/8.739, allocations: 338.9 kB / 3.294 GB, free: 172.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.058e-05/8.739, allocations: 78.88 kB / 3.294 GB, free: 172.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/8.739, allocations: 0 / 3.294 GB, free: 172.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.48e-05/8.739, allocations: 346.8 kB / 3.294 GB, free: 172.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/8.74, allocations: 104.6 kB / 3.294 GB, free: 172 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/8.74, allocations: 196.1 kB / 3.295 GB, free: 171.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/8.74, allocations: 139.9 kB / 3.295 GB, free: 171.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/8.74, allocations: 3.984 kB / 3.295 GB, free: 171.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001167/8.741, allocations: 427.3 kB / 3.295 GB, free: 171.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/8.741, allocations: 8 kB / 3.295 GB, free: 171.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/8.741, allocations: 4 kB / 3.295 GB, free: 171.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004784/8.742, allocations: 93.58 kB / 3.295 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/8.743, allocations: 71.91 kB / 3.295 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002844/8.745, allocations: 2.841 MB / 3.298 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009042/8.746, allocations: 47.72 kB / 3.298 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/8.746, allocations: 12 kB / 3.298 GB, free: 167.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.0001608/8.747, allocations: 108.9 kB / 3.298 GB, free: 167.8 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008235/8.747, allocations: 309 kB / 3.299 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/8.748, allocations: 39.53 kB / 3.299 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/8.748, allocations: 47.52 kB / 3.299 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/8.748, allocations: 7.938 kB / 3.299 GB, free: 167.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/8.748, allocations: 0 / 3.299 GB, free: 167.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007392/8.749, allocations: 499.3 kB / 3.299 GB, free: 166.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/8.75, allocations: 0.7977 MB / 3.3 GB, free: 165.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/8.75, allocations: 0 / 3.3 GB, free: 165.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/8.751, allocations: 43.97 kB / 3.3 GB, free: 165.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003184/8.751, allocations: 56.89 kB / 3.3 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/8.751, allocations: 3.984 kB / 3.3 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/8.753, allocations: 1.557 MB / 3.302 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/8.753, allocations: 0 / 3.302 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008615/8.754, allocations: 420.9 kB / 3.302 GB, free: 163.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/8.754, allocations: 152.5 kB / 3.302 GB, free: 163.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.221e-05/8.754, allocations: 0 / 3.302 GB, free: 163.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007616/8.755, allocations: 35.88 kB / 3.302 GB, free: 163.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/8.755, allocations: 19.91 kB / 3.302 GB, free: 163.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.585e-05/8.755, allocations: 15.94 kB / 3.302 GB, free: 163.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000421/8.755, allocations: 278.9 kB / 3.302 GB, free: 163.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.71e-07/8.755, allocations: 0 / 3.302 GB, free: 163.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001504/8.757, allocations: 271.5 kB / 3.303 GB, free: 162.9 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.002792/8.76, allocations: 2.065 MB / 3.305 GB, free: 160.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001052/8.761, allocations: 475.6 kB / 3.305 GB, free: 160.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/8.761, allocations: 7.75 kB / 3.305 GB, free: 160.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003565/8.761, allocations: 217.7 kB / 3.305 GB, free: 160.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/8.763, allocations: 244.2 kB / 3.306 GB, free: 159.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/8.766, allocations: 0.754 MB / 3.306 GB, free: 159.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/8.766, allocations: 0.9245 MB / 3.307 GB, free: 158.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007046/8.767, allocations: 84.12 kB / 3.307 GB, free: 158.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003863/8.768, allocations: 179.4 kB / 3.308 GB, free: 157.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.162e-06/8.768, allocations: 0 / 3.308 GB, free: 157.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08849/8.856, allocations: 20.14 MB / 3.327 GB, free: 137.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/8.856, allocations: 189.6 kB / 3.327 GB, free: 137.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.281/12.14, allocations: 3.938 kB / 3.327 GB, free: 137.7 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)