Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.398/2.398, allocations: 390.3 MB / 402.8 MB, free: 6.633 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 184.8 kB / 496.1 MB, free: 12.83 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 221.3 MB / 0.7915 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009613/0.0009613, allocations: 87.91 kB / 0.9317 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.736e-05/3.74e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2531, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.336/5.59, allocations: 1.933 GB / 3.152 GB, free: 325.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/5.59, allocations: 88.14 kB / 3.152 GB, free: 325.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.082/10.67, allocations: 1.359 GB / 4.511 GB, free: 191.2 MB / 1.182 GB Notification: Performance of FrontEnd: time 3.286e-06/10.67, allocations: 2.906 kB / 4.511 GB, free: 191.2 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0001606/10.67, allocations: 50.61 kB / 4.511 GB, free: 191.2 MB / 1.182 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.006639/10.68, allocations: 2.18 MB / 4.513 GB, free: 190.3 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/10.68, allocations: 9.781 kB / 4.513 GB, free: 190.3 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004264/10.68, allocations: 218.5 kB / 4.513 GB, free: 190.2 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00359/10.68, allocations: 0.4998 MB / 4.514 GB, free: 190.1 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004009/10.69, allocations: 1.423 MB / 4.515 GB, free: 189.8 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000224/10.69, allocations: 184.7 kB / 4.515 GB, free: 189.7 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000509/10.69, allocations: 152.8 kB / 4.515 GB, free: 189.7 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003227/10.69, allocations: 1.641 MB / 4.517 GB, free: 189.5 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/10.69, allocations: 2.531 kB / 4.517 GB, free: 189.5 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/10.69, allocations: 59.94 kB / 4.517 GB, free: 189.5 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.477e-05/10.69, allocations: 60.39 kB / 4.517 GB, free: 189.5 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/10.69, allocations: 1.26 MB / 4.518 GB, free: 189.5 MB / 1.182 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.009861/10.7, allocations: 8.25 MB / 4.526 GB, free: 184.6 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/10.7, allocations: 0.8515 MB / 4.527 GB, free: 184.6 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006368/10.7, allocations: 0.4901 MB / 4.528 GB, free: 184.6 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005171/10.7, allocations: 316.7 kB / 4.528 GB, free: 184.3 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/10.71, allocations: 47.86 kB / 4.528 GB, free: 184.3 MB / 1.182 GB Notification: Performance of pre-optimization done (n=96): time 3.717e-06/10.71, allocations: 0 / 4.528 GB, free: 184.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=102): time 0.006628/10.71, allocations: 2.623 MB / 4.531 GB, free: 183.7 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/10.71, allocations: 63.16 kB / 4.531 GB, free: 183.6 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00202/10.71, allocations: 1.073 MB / 4.532 GB, free: 183.5 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001697/10.71, allocations: 50.38 kB / 4.532 GB, free: 183.4 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006847/10.71, allocations: 0.8104 MB / 4.533 GB, free: 183.1 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003401/10.71, allocations: 372.6 kB / 4.533 GB, free: 182.9 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-05/10.72, allocations: 22.97 kB / 4.533 GB, free: 182.9 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001163/10.72, allocations: 351.7 kB / 4.533 GB, free: 182.6 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000637/10.72, allocations: 393.2 kB / 4.534 GB, free: 182.6 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008718/10.72, allocations: 0.7864 MB / 4.534 GB, free: 182.1 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008052/10.72, allocations: 0.5219 MB / 4.535 GB, free: 182.1 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/10.72, allocations: 3.594 kB / 4.535 GB, free: 182.1 MB / 1.182 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002204/10.72, allocations: 1.319 MB / 4.536 GB, free: 182 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008972/10.72, allocations: 3.662 MB / 4.54 GB, free: 178.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.859e-05/10.72, allocations: 10.12 kB / 4.54 GB, free: 178.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.027e-05/10.72, allocations: 14.88 kB / 4.54 GB, free: 178.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/10.72, allocations: 286.7 kB / 4.54 GB, free: 178.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.631e-05/10.72, allocations: 25.05 kB / 4.54 GB, free: 178.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/10.72, allocations: 183.5 kB / 4.54 GB, free: 178.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/10.72, allocations: 55.48 kB / 4.54 GB, free: 178.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/10.72, allocations: 3.719 kB / 4.54 GB, free: 178.1 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001797/10.73, allocations: 1.142 MB / 4.542 GB, free: 178 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/10.73, allocations: 10.59 kB / 4.542 GB, free: 178 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/10.73, allocations: 17.25 kB / 4.542 GB, free: 178 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/10.73, allocations: 285.6 kB / 4.542 GB, free: 178 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.911e-05/10.73, allocations: 19.73 kB / 4.542 GB, free: 178 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/10.73, allocations: 184.2 kB / 4.542 GB, free: 178 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/10.73, allocations: 52.33 kB / 4.542 GB, free: 178 MB / 1.182 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.0004166/10.73, allocations: 190.6 kB / 4.542 GB, free: 177.9 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004611/10.73, allocations: 167.8 kB / 4.542 GB, free: 177.8 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/10.73, allocations: 1.086 MB / 4.543 GB, free: 177.7 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/10.73, allocations: 11.56 kB / 4.543 GB, free: 177.7 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/10.73, allocations: 0 / 4.543 GB, free: 177.7 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001277/10.73, allocations: 1.019 MB / 4.544 GB, free: 177.5 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005299/10.74, allocations: 2.707 MB / 4.547 GB, free: 177.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/10.74, allocations: 3.938 kB / 4.547 GB, free: 177.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/10.74, allocations: 253.4 kB / 4.547 GB, free: 177.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.126e-05/10.74, allocations: 7.188 kB / 4.547 GB, free: 177.1 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.745e-05/10.74, allocations: 27.41 kB / 4.547 GB, free: 177.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/10.74, allocations: 10.45 kB / 4.547 GB, free: 177.1 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/10.74, allocations: 3.5 kB / 4.547 GB, free: 177.1 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/10.74, allocations: 1.759 MB / 4.549 GB, free: 176.6 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/10.74, allocations: 334.6 kB / 4.549 GB, free: 176.4 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004021/10.74, allocations: 28.67 kB / 4.549 GB, free: 176.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/10.75, allocations: 152.6 kB / 4.55 GB, free: 176.4 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/10.75, allocations: 65.67 kB / 4.55 GB, free: 176.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.076e-05/10.75, allocations: 40.33 kB / 4.55 GB, free: 176.4 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001468/10.75, allocations: 0.8131 MB / 4.551 GB, free: 176.3 MB / 1.182 GB Notification: Performance of sort global known variables: time 3e-07/10.75, allocations: 0 / 4.551 GB, free: 176.3 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.004362/10.75, allocations: 1.067 MB / 4.552 GB, free: 176.3 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * 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.007778/10.76, allocations: 5.689 MB / 4.557 GB, free: 173.7 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.003122/10.76, allocations: 1.668 MB / 4.559 GB, free: 173.6 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/10.76, allocations: 0 / 4.559 GB, free: 173.6 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0007094/10.76, allocations: 488.7 kB / 4.559 GB, free: 173.6 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005674/10.77, allocations: 0.9492 MB / 4.56 GB, free: 173.6 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008922/10.78, allocations: 3.236 MB / 4.563 GB, free: 172.8 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/10.78, allocations: 1.486 MB / 4.565 GB, free: 172.1 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003498/10.78, allocations: 0.6915 MB / 4.565 GB, free: 172 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009832/10.78, allocations: 0.6676 MB / 4.566 GB, free: 172 MB / 1.182 GB Notification: Performance of SimCode: time 2.435e-06/10.78, allocations: 0 / 4.566 GB, free: 172 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1634/10.95, allocations: 95.38 MB / 4.659 GB, free: 136.4 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/10.95, allocations: 206.6 kB / 4.659 GB, free: 136.2 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.316/16.26, allocations: 0 / 4.659 GB, free: 136.2 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat does not exist to compare? outputFormat=mat