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.674/2.674, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001631/0.001631, allocations: 178.6 kB / 370.8 MB, free: 10.83 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.131/2.131, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.00118/0.00118, allocations: 85.8 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000545/0.0005449, allocations: 15.62 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2455, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.808/7.054, allocations: 2.071 GB / 3.049 GB, free: 202.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/7.054, allocations: 88.45 kB / 3.049 GB, free: 202.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.588/8.643, allocations: 263.6 MB / 3.307 GB, free: 269 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.994e-06/8.643, allocations: 2.625 kB / 3.307 GB, free: 269 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.582e-05/8.643, allocations: 18.72 kB / 3.307 GB, free: 269 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.002717/8.646, allocations: 0.9829 MB / 3.308 GB, free: 268.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/8.646, allocations: 16.36 kB / 3.308 GB, free: 268.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002365/8.646, allocations: 98.59 kB / 3.308 GB, free: 268.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001449/8.647, allocations: 163 kB / 3.308 GB, free: 268.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/8.649, allocations: 0.5323 MB / 3.309 GB, free: 268.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.553e-05/8.649, allocations: 40.16 kB / 3.309 GB, free: 268.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/8.649, allocations: 51.66 kB / 3.309 GB, free: 268.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/8.651, allocations: 0.6379 MB / 3.309 GB, free: 268 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/8.651, allocations: 2.812 kB / 3.309 GB, free: 268 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-05/8.651, allocations: 21.47 kB / 3.309 GB, free: 268 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-05/8.651, allocations: 29.3 kB / 3.309 GB, free: 268 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/8.652, allocations: 0.5112 MB / 3.31 GB, free: 268 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004886/8.657, allocations: 2.237 MB / 3.312 GB, free: 267.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007848/8.658, allocations: 252.7 kB / 3.312 GB, free: 267.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.183e-05/8.658, allocations: 3.812 kB / 3.312 GB, free: 267.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/8.658, allocations: 45.8 kB / 3.312 GB, free: 267 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 2.815e-06/8.658, allocations: 0 / 3.312 GB, free: 267 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.002524/8.661, allocations: 0.6631 MB / 3.313 GB, free: 266.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/8.661, allocations: 80.92 kB / 3.313 GB, free: 266.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009055/8.662, allocations: 497.4 kB / 3.314 GB, free: 266.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.85e-05/8.662, allocations: 33.17 kB / 3.314 GB, free: 266.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/8.662, allocations: 334.8 kB / 3.314 GB, free: 266.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.908e-05/8.662, allocations: 73.72 kB / 3.314 GB, free: 266.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/8.662, allocations: 5.75 kB / 3.314 GB, free: 266.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001095/8.662, allocations: 365 kB / 3.314 GB, free: 266 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/8.663, allocations: 129.8 kB / 3.314 GB, free: 266 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/8.663, allocations: 225.4 kB / 3.315 GB, free: 265.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004636/8.664, allocations: 163.4 kB / 3.315 GB, free: 265.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/8.664, allocations: 0 / 3.315 GB, free: 265.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001303/8.665, allocations: 485.9 kB / 3.315 GB, free: 265.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/8.665, allocations: 3.781 kB / 3.315 GB, free: 265.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/8.665, allocations: 3.781 kB / 3.315 GB, free: 265.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000455/8.665, allocations: 84.06 kB / 3.315 GB, free: 265.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000602/8.666, allocations: 76.05 kB / 3.315 GB, free: 265.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/8.669, allocations: 3.021 MB / 3.318 GB, free: 263.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/8.67, allocations: 66.25 kB / 3.318 GB, free: 263.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/8.671, allocations: 14.84 kB / 3.318 GB, free: 263.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 () * Number of clocked 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.0004623/8.671, allocations: 218.4 kB / 3.319 GB, free: 263.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/8.671, allocations: 52.66 kB / 3.319 GB, free: 263.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/8.671, allocations: 61.12 kB / 3.319 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/8.671, allocations: 0 / 3.319 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/8.671, allocations: 0 / 3.319 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008766/8.672, allocations: 0.5173 MB / 3.319 GB, free: 262.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/8.674, allocations: 0.904 MB / 3.32 GB, free: 262.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/8.674, allocations: 0 / 3.32 GB, free: 262.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/8.675, allocations: 45.69 kB / 3.32 GB, free: 262.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003009/8.675, allocations: 60.31 kB / 3.32 GB, free: 262.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/8.675, allocations: 9.562 kB / 3.32 GB, free: 262.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/8.677, allocations: 1.649 MB / 3.322 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/8.677, allocations: 0 / 3.322 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/8.678, allocations: 452.7 kB / 3.322 GB, free: 261 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003714/8.678, allocations: 173.6 kB / 3.323 GB, free: 260.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/8.678, allocations: 10.92 kB / 3.323 GB, free: 260.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008172/8.679, allocations: 34.17 kB / 3.323 GB, free: 260.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/8.679, allocations: 20.16 kB / 3.323 GB, free: 260.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.778e-05/8.679, allocations: 16 kB / 3.323 GB, free: 260.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000686/8.68, allocations: 391.7 kB / 3.323 GB, free: 260.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.01e-07/8.68, allocations: 0 / 3.323 GB, free: 260.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001396/8.682, allocations: 284 kB / 3.323 GB, free: 260.7 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 (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.002879/8.684, allocations: 1.973 MB / 3.325 GB, free: 259.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001469/8.686, allocations: 0.5361 MB / 3.326 GB, free: 259.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/8.686, allocations: 0 / 3.326 GB, free: 259.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005665/8.687, allocations: 251 kB / 3.326 GB, free: 259.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/8.69, allocations: 349.7 kB / 3.326 GB, free: 259.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007067/8.697, allocations: 4.416 MB / 3.331 GB, free: 257 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/8.697, allocations: 0.9209 MB / 3.331 GB, free: 256.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008549/8.698, allocations: 107 kB / 3.332 GB, free: 256.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003439/8.699, allocations: 190.5 kB / 3.332 GB, free: 256.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.283e-06/8.699, allocations: 0 / 3.332 GB, free: 256.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08109/8.78, allocations: 31.51 MB / 3.363 GB, free: 252.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00029/8.78, allocations: 265 kB / 3.363 GB, free: 251.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.968/12.75, allocations: 3.938 kB / 3.363 GB, free: 251.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)