Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.575/1.575, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001519/0.001519, allocations: 193.1 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.421/2.421, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 87.83 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.0004644, allocations: 9.594 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2627, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.813/6.076, allocations: 2.205 GB / 3.105 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/6.076, allocations: 95.95 kB / 3.105 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.81/11.89, allocations: 1.302 GB / 4.407 GB, free: 69.68 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.366e-06/11.89, allocations: 0 / 4.407 GB, free: 69.68 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0004324/11.89, allocations: 59.92 kB / 4.407 GB, free: 69.62 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.01157/11.9, allocations: 2.511 MB / 4.409 GB, free: 67.05 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 7.034e-05/11.9, allocations: 12.03 kB / 4.409 GB, free: 67.04 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001393/11.9, allocations: 222.8 kB / 4.41 GB, free: 66.81 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00461/11.9, allocations: 0.5009 MB / 4.41 GB, free: 66.31 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006129/11.91, allocations: 1.438 MB / 4.411 GB, free: 64.82 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/11.91, allocations: 178.3 kB / 4.412 GB, free: 64.63 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003655/11.91, allocations: 163.9 kB / 4.412 GB, free: 64.47 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003378/11.91, allocations: 1.699 MB / 4.413 GB, free: 62.71 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/11.91, allocations: 0 / 4.413 GB, free: 62.71 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/11.91, allocations: 68 kB / 4.414 GB, free: 62.64 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-05/11.91, allocations: 50.8 kB / 4.414 GB, free: 62.59 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00243/11.92, allocations: 1.385 MB / 4.415 GB, free: 61.21 MB / 0.9011 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.01018/11.93, allocations: 7.672 MB / 4.422 GB, free: 52.89 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/11.93, allocations: 0.9673 MB / 4.423 GB, free: 51.91 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005953/11.93, allocations: 312.2 kB / 4.424 GB, free: 51.55 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.831e-05/11.93, allocations: 55.55 kB / 4.424 GB, free: 51.49 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 6.322e-06/11.93, allocations: 0 / 4.424 GB, free: 51.49 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.008111/11.94, allocations: 3.248 MB / 4.427 GB, free: 48.19 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/11.94, allocations: 64.41 kB / 4.427 GB, free: 48.11 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/11.94, allocations: 1.074 MB / 4.428 GB, free: 47.04 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000146/11.94, allocations: 57.64 kB / 4.428 GB, free: 46.97 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005507/11.94, allocations: 0.7902 MB / 4.429 GB, free: 46.17 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/11.94, allocations: 398.2 kB / 4.429 GB, free: 45.78 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/11.94, allocations: 24 kB / 4.429 GB, free: 45.75 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001206/11.94, allocations: 361.9 kB / 4.43 GB, free: 45.39 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007434/11.94, allocations: 446.4 kB / 4.43 GB, free: 44.96 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/11.94, allocations: 0.8157 MB / 4.431 GB, free: 43.99 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009753/11.94, allocations: 0.5684 MB / 4.431 GB, free: 43.43 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/11.94, allocations: 4 kB / 4.431 GB, free: 43.42 MB / 0.9011 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002573/11.95, allocations: 1.421 MB / 4.433 GB, free: 41.99 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001528/11.95, allocations: 3.129 MB / 4.436 GB, free: 38.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/11.95, allocations: 8 kB / 4.436 GB, free: 38.68 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.075e-05/11.95, allocations: 16 kB / 4.436 GB, free: 38.67 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/11.95, allocations: 287.6 kB / 4.436 GB, free: 38.39 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.441e-05/11.95, allocations: 19.94 kB / 4.436 GB, free: 38.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/11.95, allocations: 175.5 kB / 4.436 GB, free: 38.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/11.95, allocations: 55.98 kB / 4.436 GB, free: 38.14 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/11.95, allocations: 4 kB / 4.436 GB, free: 38.14 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001951/11.95, allocations: 1.245 MB / 4.438 GB, free: 36.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/11.95, allocations: 8 kB / 4.438 GB, free: 36.88 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/11.95, allocations: 12.91 kB / 4.438 GB, free: 36.87 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/11.95, allocations: 287.6 kB / 4.438 GB, free: 36.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/11.95, allocations: 19.94 kB / 4.438 GB, free: 36.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/11.96, allocations: 179.5 kB / 4.438 GB, free: 36.39 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.125e-05/11.96, allocations: 51.94 kB / 4.438 GB, free: 36.34 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (156): * Single equations (assignments): 156 * 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.001268/11.96, allocations: 0.5219 MB / 4.439 GB, free: 35.81 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003178/11.96, allocations: 162 kB / 4.439 GB, free: 35.65 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/11.96, allocations: 1.225 MB / 4.44 GB, free: 34.42 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/11.96, allocations: 15.95 kB / 4.44 GB, free: 34.4 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/11.96, allocations: 0 / 4.44 GB, free: 34.4 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001478/11.96, allocations: 1.13 MB / 4.441 GB, free: 33.22 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005064/11.97, allocations: 2.887 MB / 4.444 GB, free: 30.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/11.97, allocations: 4 kB / 4.444 GB, free: 30.25 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/11.97, allocations: 259.7 kB / 4.444 GB, free: 30 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.086e-05/11.97, allocations: 12.2 kB / 4.444 GB, free: 29.98 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.232e-05/11.97, allocations: 28 kB / 4.444 GB, free: 29.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-05/11.97, allocations: 15.92 kB / 4.444 GB, free: 29.94 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/11.97, allocations: 0 / 4.444 GB, free: 29.94 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002932/11.97, allocations: 1.993 MB / 4.446 GB, free: 27.86 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/11.97, allocations: 351 kB / 4.446 GB, free: 27.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/11.97, allocations: 31.98 kB / 4.446 GB, free: 27.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/11.97, allocations: 163.5 kB / 4.447 GB, free: 27.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/11.97, allocations: 64.91 kB / 4.447 GB, free: 27.24 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.05e-05/11.97, allocations: 43.97 kB / 4.447 GB, free: 27.2 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001357/11.98, allocations: 0.8305 MB / 4.448 GB, free: 26.37 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/11.98, allocations: 4 kB / 4.448 GB, free: 26.37 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00385/11.98, allocations: 1.082 MB / 4.449 GB, free: 25.29 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],entFloRat2.h_out) * 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 (111): * Single equations (assignments): 111 * 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.009566/11.99, allocations: 5.925 MB / 4.454 GB, free: 19.09 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003785/11.99, allocations: 1.783 MB / 4.456 GB, free: 17.31 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.531e-05/11.99, allocations: 0 / 4.456 GB, free: 17.31 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0009248/11.99, allocations: 0.5525 MB / 4.457 GB, free: 16.76 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005832/12, allocations: 0.9535 MB / 4.458 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02053/12.02, allocations: 15.7 MB / 4.473 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/12.02, allocations: 1.5 MB / 4.474 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002723/12.02, allocations: 0.5602 MB / 4.475 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/12.03, allocations: 0.7023 MB / 4.476 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of SimCode: time 1.092e-06/12.03, allocations: 0 / 4.476 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8825/12.91, allocations: 86.82 MB / 4.56 GB, free: 117.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003438/12.91, allocations: 229.3 kB / 4.561 GB, free: 117 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.574/18.48, allocations: 3.5 kB / 4.561 GB, free: 117 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)