Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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.Validation.MixingVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",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.792/2.792, allocations: 287.3 MB / 302.3 MB, free: 8.395 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.001609/0.001609, allocations: 188.6 kB / 370.8 MB, free: 10.84 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.09/2.09, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001202/0.001202, allocations: 100.1 kB / 0.7428 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005034/0.0005034, allocations: 11.73 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.226, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.871/7.097, allocations: 2.086 GB / 3.065 GB, free: 187.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003546/7.098, allocations: 92.89 kB / 3.065 GB, free: 187.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.515/14.61, allocations: 1.339 GB / 4.404 GB, free: 129.4 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.976e-06/14.61, allocations: 1.188 kB / 4.404 GB, free: 129.4 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003403/14.61, allocations: 49.95 kB / 4.404 GB, free: 129.4 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.0116/14.62, allocations: 2.483 MB / 4.406 GB, free: 128.8 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/14.63, allocations: 8.656 kB / 4.406 GB, free: 128.8 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001053/14.63, allocations: 217 kB / 4.406 GB, free: 128.7 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005305/14.63, allocations: 0.5033 MB / 4.407 GB, free: 128.6 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005977/14.64, allocations: 1.41 MB / 4.408 GB, free: 128.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002808/14.64, allocations: 182.6 kB / 4.408 GB, free: 128.2 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005877/14.64, allocations: 157.7 kB / 4.408 GB, free: 128.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005493/14.64, allocations: 1.686 MB / 4.41 GB, free: 128 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-05/14.64, allocations: 9.562 kB / 4.41 GB, free: 128 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002555/14.64, allocations: 63.89 kB / 4.41 GB, free: 128 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/14.64, allocations: 56.3 kB / 4.41 GB, free: 128 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005071/14.65, allocations: 1.342 MB / 4.412 GB, free: 128 MB / 0.9792 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01581/14.67, allocations: 8.218 MB / 4.42 GB, free: 123.1 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002386/14.67, allocations: 0.891 MB / 4.42 GB, free: 123.1 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008176/14.67, allocations: 322.5 kB / 4.421 GB, free: 122.8 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.686e-05/14.67, allocations: 45.16 kB / 4.421 GB, free: 122.8 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=96): time 4.389e-06/14.67, allocations: 2.812 kB / 4.421 GB, free: 122.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=102): time 0.01236/14.68, allocations: 3.124 MB / 4.424 GB, free: 122.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/14.68, allocations: 63.97 kB / 4.424 GB, free: 122.1 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002294/14.68, allocations: 1.077 MB / 4.425 GB, free: 122 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003622/14.68, allocations: 49.42 kB / 4.425 GB, free: 121.9 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007409/14.68, allocations: 0.8083 MB / 4.426 GB, free: 121.7 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006343/14.69, allocations: 372.1 kB / 4.426 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/14.69, allocations: 20.53 kB / 4.426 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001306/14.69, allocations: 351 kB / 4.426 GB, free: 121.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/14.69, allocations: 432.6 kB / 4.427 GB, free: 121.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/14.69, allocations: 0.8346 MB / 4.428 GB, free: 120.7 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/14.69, allocations: 0.553 MB / 4.428 GB, free: 120.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/14.69, allocations: 3.25 kB / 4.428 GB, free: 120.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004265/14.7, allocations: 1.397 MB / 4.43 GB, free: 120.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.000832/14.7, allocations: 3.655 MB / 4.433 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/14.7, allocations: 9.5 kB / 4.433 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.546e-05/14.7, allocations: 19.91 kB / 4.433 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002436/14.7, allocations: 281.3 kB / 4.433 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.17e-05/14.7, allocations: 26.78 kB / 4.433 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003545/14.7, allocations: 168.7 kB / 4.434 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003015/14.7, allocations: 58.33 kB / 4.434 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/14.7, allocations: 6.281 kB / 4.434 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00354/14.71, allocations: 1.221 MB / 4.435 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/14.71, allocations: 10.47 kB / 4.435 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/14.71, allocations: 17.09 kB / 4.435 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00218/14.71, allocations: 281.8 kB / 4.435 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.214e-05/14.71, allocations: 18.66 kB / 4.435 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003316/14.71, allocations: 177.2 kB / 4.435 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/14.71, allocations: 49.97 kB / 4.435 GB, free: 116.8 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001423/14.71, allocations: 0.5025 MB / 4.436 GB, free: 116.6 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005245/14.71, allocations: 167.1 kB / 4.436 GB, free: 116.6 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003458/14.72, allocations: 1.159 MB / 4.437 GB, free: 116.5 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/14.72, allocations: 11.09 kB / 4.437 GB, free: 116.5 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/14.72, allocations: 5.891 kB / 4.437 GB, free: 116.5 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002602/14.72, allocations: 1.083 MB / 4.438 GB, free: 116.2 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008311/14.73, allocations: 2.778 MB / 4.441 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/14.73, allocations: 3.5 kB / 4.441 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002311/14.73, allocations: 256 kB / 4.441 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.57e-05/14.73, allocations: 6.688 kB / 4.441 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/14.73, allocations: 27.72 kB / 4.441 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.331e-05/14.73, allocations: 12.58 kB / 4.441 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/14.73, allocations: 0 / 4.441 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004947/14.74, allocations: 1.918 MB / 4.443 GB, free: 115.3 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/14.74, allocations: 337.5 kB / 4.443 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003583/14.74, allocations: 20.27 kB / 4.444 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002426/14.74, allocations: 147.3 kB / 4.444 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/14.74, allocations: 72.03 kB / 4.444 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/14.74, allocations: 38.42 kB / 4.444 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00172/14.74, allocations: 0.8264 MB / 4.445 GB, free: 115 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.425e-06/14.74, allocations: 0 / 4.445 GB, free: 115 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004948/14.75, allocations: 1.064 MB / 4.446 GB, free: 115 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * 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 (102): * Single equations (assignments): 102 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01075/14.76, allocations: 5.848 MB / 4.451 GB, free: 112.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00516/14.76, allocations: 1.728 MB / 4.453 GB, free: 112.4 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/14.76, allocations: 0 / 4.453 GB, free: 112.4 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001462/14.77, allocations: 0.518 MB / 4.454 GB, free: 112.4 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008496/14.77, allocations: 0.9426 MB / 4.454 GB, free: 112.4 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0287/14.8, allocations: 16.25 MB / 4.47 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/14.8, allocations: 1.477 MB / 4.472 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003817/14.81, allocations: 0.5535 MB / 4.472 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001802/14.81, allocations: 0.6797 MB / 4.473 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of SimCode: time 9.82e-07/14.81, allocations: 0 / 4.473 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2513/15.06, allocations: 85.95 MB / 4.557 GB, free: 98.84 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002472/15.06, allocations: 218.7 kB / 4.557 GB, free: 98.6 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.399/21.46, allocations: 0 / 4.557 GB, free: 98.6 MB / 0.9792 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)