Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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.Validation.MixingVolume,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.723/1.723, 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.001156/0.001156, allocations: 177.1 kB / 371.6 MB, free: 3.406 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.698/1.698, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009537/0.0009537, allocations: 92.27 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.746e-05/5.748e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3167, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.813/7.13, allocations: 2.087 GB / 3.067 GB, free: 108 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/7.13, allocations: 83.28 kB / 3.067 GB, free: 108 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.504/12.63, allocations: 1.338 GB / 4.405 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.723e-06/12.63, allocations: 0 / 4.405 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002712/12.63, allocations: 49.45 kB / 4.405 GB, free: 109.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.007461/12.64, allocations: 2.178 MB / 4.407 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/12.64, allocations: 12.97 kB / 4.407 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007996/12.64, allocations: 218.5 kB / 4.407 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003936/12.65, allocations: 0.5011 MB / 4.408 GB, free: 108.4 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004384/12.65, allocations: 1.398 MB / 4.409 GB, free: 108 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/12.65, allocations: 180.3 kB / 4.409 GB, free: 108 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002985/12.65, allocations: 152.5 kB / 4.409 GB, free: 108 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00291/12.65, allocations: 1.633 MB / 4.411 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.296e-05/12.65, allocations: 11.06 kB / 4.411 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/12.66, allocations: 61.75 kB / 4.411 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.346e-05/12.66, allocations: 57.77 kB / 4.411 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/12.66, allocations: 1.25 MB / 4.412 GB, free: 107.7 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.01005/12.67, allocations: 8.221 MB / 4.42 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/12.67, allocations: 0.8408 MB / 4.421 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006164/12.67, allocations: 0.4908 MB / 4.422 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000518/12.67, allocations: 318.6 kB / 4.422 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/12.67, allocations: 45.94 kB / 4.422 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=96): time 3.106e-06/12.67, allocations: 6.719 kB / 4.422 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=102): time 0.005941/12.68, allocations: 2.599 MB / 4.425 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/12.68, allocations: 65.84 kB / 4.425 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/12.68, allocations: 1.059 MB / 4.426 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/12.68, allocations: 49.39 kB / 4.426 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004886/12.68, allocations: 0.8098 MB / 4.427 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/12.68, allocations: 362.3 kB / 4.427 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/12.68, allocations: 27.81 kB / 4.427 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.859e-05/12.68, allocations: 353.9 kB / 4.427 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005471/12.68, allocations: 398.8 kB / 4.428 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007943/12.68, allocations: 0.7857 MB / 4.428 GB, free: 100.4 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000721/12.68, allocations: 0.5247 MB / 4.429 GB, free: 100.4 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/12.68, allocations: 5.5 kB / 4.429 GB, free: 100.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001942/12.68, allocations: 1.31 MB / 4.43 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.000842/12.68, allocations: 3.662 MB / 4.434 GB, free: 96.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/12.68, allocations: 12.53 kB / 4.434 GB, free: 96.52 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.382e-05/12.68, allocations: 18.25 kB / 4.434 GB, free: 96.52 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/12.68, allocations: 281.7 kB / 4.434 GB, free: 96.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.709e-05/12.68, allocations: 20.58 kB / 4.434 GB, free: 96.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/12.69, allocations: 177.6 kB / 4.434 GB, free: 96.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/12.69, allocations: 48.03 kB / 4.434 GB, free: 96.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/12.69, allocations: 7.438 kB / 4.434 GB, free: 96.5 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00167/12.69, allocations: 1.142 MB / 4.435 GB, free: 96.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/12.69, allocations: 11.31 kB / 4.435 GB, free: 96.47 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/12.69, allocations: 18.81 kB / 4.435 GB, free: 96.47 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/12.69, allocations: 282.1 kB / 4.436 GB, free: 96.47 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.046e-05/12.69, allocations: 22.91 kB / 4.436 GB, free: 96.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/12.69, allocations: 167.6 kB / 4.436 GB, free: 96.46 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/12.69, allocations: 53.47 kB / 4.436 GB, free: 96.46 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 () * 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.0003682/12.69, allocations: 188.6 kB / 4.436 GB, free: 96.35 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003003/12.69, allocations: 165.7 kB / 4.436 GB, free: 96.26 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/12.69, allocations: 1.082 MB / 4.437 GB, free: 96.17 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/12.69, allocations: 16.25 kB / 4.437 GB, free: 96.17 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/12.69, allocations: 3.844 kB / 4.437 GB, free: 96.17 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001264/12.7, allocations: 1.007 MB / 4.438 GB, free: 95.9 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004722/12.7, allocations: 2.702 MB / 4.441 GB, free: 95.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/12.7, allocations: 0 / 4.441 GB, free: 95.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/12.7, allocations: 252 kB / 4.441 GB, free: 95.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/12.7, allocations: 6.688 kB / 4.441 GB, free: 95.5 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.026e-05/12.7, allocations: 32.27 kB / 4.441 GB, free: 95.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/12.7, allocations: 9.594 kB / 4.441 GB, free: 95.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/12.7, allocations: 7.359 kB / 4.441 GB, free: 95.5 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/12.7, allocations: 1.8 MB / 4.443 GB, free: 95.04 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008667/12.7, allocations: 339 kB / 4.443 GB, free: 94.87 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/12.7, allocations: 18.56 kB / 4.443 GB, free: 94.87 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/12.71, allocations: 155.8 kB / 4.444 GB, free: 94.85 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/12.71, allocations: 64.59 kB / 4.444 GB, free: 94.85 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.652e-05/12.71, allocations: 43.44 kB / 4.444 GB, free: 94.85 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001182/12.71, allocations: 0.8128 MB / 4.444 GB, free: 94.73 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.61e-07/12.71, allocations: 0 / 4.444 GB, free: 94.73 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00372/12.71, allocations: 1.068 MB / 4.445 GB, free: 94.72 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 () * 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.007467/12.72, allocations: 5.72 MB / 4.451 GB, free: 92.12 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002862/12.72, allocations: 1.664 MB / 4.453 GB, free: 92.09 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/12.72, allocations: 7.219 kB / 4.453 GB, free: 92.09 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006711/12.72, allocations: 488 kB / 4.453 GB, free: 92.09 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005528/12.73, allocations: 0.9397 MB / 4.454 GB, free: 92.07 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006705/12.73, allocations: 3.214 MB / 4.457 GB, free: 91.26 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009331/12.74, allocations: 1.483 MB / 4.459 GB, free: 90.53 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002912/12.74, allocations: 0.6866 MB / 4.459 GB, free: 90.51 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008741/12.74, allocations: 0.6609 MB / 4.46 GB, free: 90.5 MB / 0.9792 GB Notification: Performance of SimCode: time 1.804e-06/12.74, allocations: 0 / 4.46 GB, free: 90.5 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1642/12.9, allocations: 95.28 MB / 4.553 GB, free: 74 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/12.9, allocations: 192.6 kB / 4.553 GB, free: 73.77 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.208/19.11, allocations: 0 / 4.553 GB, free: 73.77 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)