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.442/1.442, allocations: 249.5 MB / 257 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 176.9 kB / 316.3 MB, free: 3.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 1.853/1.853, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.001004/0.001004, allocations: 85.11 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.415e-05/2.418e-05, allocations: 7.984 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2712, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.641/5.913, allocations: 2.205 GB / 3.09 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/5.913, allocations: 94.08 kB / 3.09 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.633/10.55, allocations: 1.286 GB / 4.376 GB, free: 114.2 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.994e-06/10.55, allocations: 0 / 4.376 GB, free: 114.2 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001816/10.55, allocations: 58 kB / 4.376 GB, free: 114.2 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.00656/10.55, allocations: 2.194 MB / 4.378 GB, free: 113.3 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/10.55, allocations: 6.5 kB / 4.378 GB, free: 113.3 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003366/10.56, allocations: 0.5037 MB / 4.379 GB, free: 113.2 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003773/10.56, allocations: 1.439 MB / 4.38 GB, free: 112.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/10.56, allocations: 121 kB / 4.38 GB, free: 112.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/10.56, allocations: 101 kB / 4.38 GB, free: 112.8 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002196/10.56, allocations: 1.211 MB / 4.381 GB, free: 112.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/10.56, allocations: 1.432 MB / 4.383 GB, free: 112.6 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/10.56, allocations: 2.062 kB / 4.383 GB, free: 112.6 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/10.56, allocations: 3.781 kB / 4.383 GB, free: 112.6 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-05/10.56, allocations: 59.61 kB / 4.383 GB, free: 112.6 MB / 0.9011 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.0097/10.57, allocations: 7.406 MB / 4.39 GB, free: 108.5 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/10.58, allocations: 0.8662 MB / 4.391 GB, free: 108.5 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006125/10.58, allocations: 493.1 kB / 4.391 GB, free: 108.4 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000537/10.58, allocations: 325.2 kB / 4.392 GB, free: 108.2 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/10.58, allocations: 50.08 kB / 4.392 GB, free: 108.1 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 7.704e-06/10.58, allocations: 3.75 kB / 4.392 GB, free: 108.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.006468/10.58, allocations: 2.765 MB / 4.395 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/10.58, allocations: 63.25 kB / 4.395 GB, free: 107.4 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/10.58, allocations: 0.8873 MB / 4.395 GB, free: 107.3 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.638e-05/10.59, allocations: 29.48 kB / 4.395 GB, free: 107.3 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005801/10.59, allocations: 0.8086 MB / 4.396 GB, free: 107 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003221/10.59, allocations: 383.2 kB / 4.397 GB, free: 106.7 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/10.59, allocations: 0 / 4.397 GB, free: 106.7 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000127/10.59, allocations: 355.7 kB / 4.397 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005303/10.59, allocations: 387.7 kB / 4.397 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008221/10.59, allocations: 0.7384 MB / 4.398 GB, free: 106 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009717/10.59, allocations: 0.5899 MB / 4.399 GB, free: 106 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/10.59, allocations: 7.859 kB / 4.399 GB, free: 106 MB / 0.9011 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002075/10.59, allocations: 1.314 MB / 4.4 GB, free: 105.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009672/10.59, allocations: 3.107 MB / 4.403 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/10.59, allocations: 7.594 kB / 4.403 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.735e-05/10.59, allocations: 17 kB / 4.403 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/10.59, allocations: 289.8 kB / 4.403 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/10.59, allocations: 20.59 kB / 4.403 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/10.6, allocations: 147.6 kB / 4.403 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/10.6, allocations: 55.38 kB / 4.403 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/10.6, allocations: 5.969 kB / 4.403 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001808/10.6, allocations: 1.111 MB / 4.405 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/10.6, allocations: 7.594 kB / 4.405 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/10.6, allocations: 25.73 kB / 4.405 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/10.6, allocations: 286.2 kB / 4.405 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/10.6, allocations: 22.92 kB / 4.405 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/10.6, allocations: 145.8 kB / 4.405 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-05/10.6, allocations: 56.78 kB / 4.405 GB, free: 102.6 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 () * 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.0003226/10.6, allocations: 136.5 kB / 4.405 GB, free: 102.5 MB / 0.9011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001847/10.6, allocations: 1.053 MB / 4.406 GB, free: 102.3 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/10.6, allocations: 161.7 kB / 4.406 GB, free: 102.2 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/10.6, allocations: 1.133 MB / 4.407 GB, free: 102.2 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/10.6, allocations: 11.28 kB / 4.407 GB, free: 102.2 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/10.6, allocations: 0 / 4.407 GB, free: 102.2 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001587/10.61, allocations: 1.076 MB / 4.409 GB, free: 101.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005005/10.61, allocations: 2.65 MB / 4.411 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/10.61, allocations: 3.969 kB / 4.411 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/10.61, allocations: 268.3 kB / 4.411 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.636e-05/10.61, allocations: 5.906 kB / 4.411 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.627e-05/10.61, allocations: 22.86 kB / 4.411 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-05/10.61, allocations: 10.44 kB / 4.411 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/10.61, allocations: 2.406 kB / 4.411 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002887/10.62, allocations: 1.885 MB / 4.413 GB, free: 101 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000986/10.62, allocations: 342.2 kB / 4.414 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/10.62, allocations: 10.02 kB / 4.414 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/10.62, allocations: 140.8 kB / 4.414 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/10.62, allocations: 73.78 kB / 4.414 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.15e-05/10.62, allocations: 37.59 kB / 4.414 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001165/10.62, allocations: 0.662 MB / 4.414 GB, free: 100.7 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/10.62, allocations: 0 / 4.414 GB, free: 100.7 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003715/10.62, allocations: 0.9294 MB / 4.415 GB, free: 100.7 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 () * 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.009129/10.63, allocations: 6.136 MB / 4.421 GB, free: 98.07 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002807/10.64, allocations: 1.628 MB / 4.423 GB, free: 98.04 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.926e-06/10.64, allocations: 0 / 4.423 GB, free: 98.04 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000645/10.64, allocations: 499.2 kB / 4.423 GB, free: 98.04 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005088/10.64, allocations: 0.8598 MB / 4.424 GB, free: 98.01 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007254/10.65, allocations: 3.35 MB / 4.428 GB, free: 97.17 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/10.65, allocations: 1.498 MB / 4.429 GB, free: 96.44 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003278/10.65, allocations: 0.6449 MB / 4.43 GB, free: 96.42 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/10.65, allocations: 0.671 MB / 4.43 GB, free: 96.41 MB / 0.9011 GB Notification: Performance of SimCode: time 1.212e-06/10.65, allocations: 3.719 kB / 4.43 GB, free: 96.41 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1289/10.78, allocations: 63.97 MB / 4.493 GB, free: 88.39 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/10.78, allocations: 178.9 kB / 4.493 GB, free: 88.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.716/15.5, allocations: 0 / 4.493 GB, free: 88.2 MB / 0.9011 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)