Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.639/1.639, allocations: 285.6 MB / 293.1 MB, free: 10.14 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.00115/0.00115, allocations: 180.9 kB / 361.4 MB, free: 6.785 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.743/1.743, allocations: 205.2 MB / 0.62 GB, free: 11.59 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.0008969/0.0008969, allocations: 100.4 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.805e-05/1.819e-05, allocations: 4 kB / 0.8518 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7949/0.7949, allocations: 115.3 MB / 0.9644 GB, free: 78.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.162/1.957, allocations: 400 MB / 1.355 GB, free: 166.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/1.957, allocations: 93.47 kB / 1.355 GB, free: 166.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.5173/2.474, allocations: 240.8 MB / 1.59 GB, free: 2.52 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.645e-06/2.474, allocations: 4 kB / 1.59 GB, free: 2.516 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000188/2.475, allocations: 35.92 kB / 1.59 GB, free: 2.48 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003282/2.478, allocations: 1.197 MB / 1.592 GB, free: 1.238 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/2.478, allocations: 8.031 kB / 1.592 GB, free: 1.23 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008663/2.479, allocations: 146.4 kB / 1.592 GB, free: 1.086 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01949/2.498, allocations: 7.57 MB / 1.599 GB, free: 9.402 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-05/2.499, allocations: 24 kB / 1.599 GB, free: 9.379 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003042/2.499, allocations: 47.91 kB / 1.599 GB, free: 9.332 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001682/2.501, allocations: 0.6403 MB / 1.6 GB, free: 8.691 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/2.503, allocations: 0.8502 MB / 1.601 GB, free: 7.793 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.385e-05/2.503, allocations: 0 / 1.601 GB, free: 7.793 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.674e-05/2.503, allocations: 4 kB / 1.601 GB, free: 7.789 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.822e-05/2.503, allocations: 31.98 kB / 1.601 GB, free: 7.758 MB / 0.9323 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.006813/2.51, allocations: 4.387 MB / 1.605 GB, free: 3.043 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005489/2.51, allocations: 367.5 kB / 1.605 GB, free: 2.676 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/2.511, allocations: 255.7 kB / 1.606 GB, free: 2.426 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004675/2.511, allocations: 429.8 kB / 1.606 GB, free: 1.914 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/2.511, allocations: 42.88 kB / 1.606 GB, free: 1.863 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=40): time 2.865e-06/2.511, allocations: 0 / 1.606 GB, free: 1.863 MB / 0.9323 GB Notification: Performance of matching and sorting (n=40): time 0.001466/2.513, allocations: 0.5344 MB / 1.606 GB, free: 1.32 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/2.513, allocations: 55.41 kB / 1.607 GB, free: 1.254 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/2.514, allocations: 0.7661 MB / 1.607 GB, free: 496 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.183e-05/2.514, allocations: 25.7 kB / 1.607 GB, free: 464 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.7041/3.218, allocations: 0.4925 MB / 1.608 GB, free: 240.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003423/3.218, allocations: 139.7 kB / 1.608 GB, free: 240.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/3.219, allocations: 0 / 1.608 GB, free: 240.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001169/3.219, allocations: 331.2 kB / 1.608 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/3.219, allocations: 205.4 kB / 1.608 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005859/3.22, allocations: 421.1 kB / 1.609 GB, free: 239.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008476/3.221, allocations: 306.5 kB / 1.609 GB, free: 239.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/3.221, allocations: 2.062 kB / 1.609 GB, free: 239.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002042/3.223, allocations: 0.7351 MB / 1.61 GB, free: 239.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006423/3.223, allocations: 2.185 MB / 1.612 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/3.223, allocations: 7.688 kB / 1.612 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002713/3.224, allocations: 61.16 kB / 1.612 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/3.224, allocations: 111.9 kB / 1.612 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006228/3.225, allocations: 0.6337 MB / 1.613 GB, free: 237 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/3.226, allocations: 95.83 kB / 1.613 GB, free: 237 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.77e-05/3.226, allocations: 31.38 kB / 1.613 GB, free: 237 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/3.226, allocations: 3.562 kB / 1.613 GB, free: 237 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001552/3.228, allocations: 0.5993 MB / 1.613 GB, free: 237 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/3.228, allocations: 6.828 kB / 1.614 GB, free: 237 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001998/3.228, allocations: 60.89 kB / 1.614 GB, free: 237 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/3.228, allocations: 113.5 kB / 1.614 GB, free: 237 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/3.23, allocations: 1.6 MB / 1.615 GB, free: 235.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008121/3.231, allocations: 82.84 kB / 1.615 GB, free: 235.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.478e-05/3.231, allocations: 33.36 kB / 1.615 GB, free: 235.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002302/3.231, allocations: 118.5 kB / 1.615 GB, free: 235.6 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00128/3.233, allocations: 0.5233 MB / 1.616 GB, free: 235.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/3.233, allocations: 85.95 kB / 1.616 GB, free: 235.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/3.234, allocations: 0.6132 MB / 1.617 GB, free: 235.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/3.234, allocations: 4.094 kB / 1.617 GB, free: 235.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/3.234, allocations: 0.5312 kB / 1.617 GB, free: 235.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001075/3.235, allocations: 0.7878 MB / 1.617 GB, free: 234.9 MB / 0.9323 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 postOpt removeSimpleEquations (simulation): time 0.003001/3.238, allocations: 1.524 MB / 1.619 GB, free: 234.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/3.238, allocations: 3.469 kB / 1.619 GB, free: 234.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003547/3.239, allocations: 83.41 kB / 1.619 GB, free: 234.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.373e-05/3.239, allocations: 28.83 kB / 1.619 GB, free: 234.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/3.239, allocations: 5.75 kB / 1.619 GB, free: 234.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003199/3.239, allocations: 0.5707 MB / 1.62 GB, free: 234 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/3.239, allocations: 3.594 kB / 1.62 GB, free: 234 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/3.241, allocations: 0.953 MB / 1.621 GB, free: 233.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004209/3.241, allocations: 268.2 kB / 1.621 GB, free: 233.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/3.241, allocations: 8.469 kB / 1.621 GB, free: 233.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000621/3.242, allocations: 54.84 kB / 1.621 GB, free: 233.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/3.242, allocations: 29.58 kB / 1.621 GB, free: 233.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.493e-05/3.242, allocations: 25.89 kB / 1.621 GB, free: 233.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001034/3.243, allocations: 0.5956 MB / 1.621 GB, free: 233.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.6e-07/3.243, allocations: 0 / 1.621 GB, free: 233.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002622/3.246, allocations: 0.5678 MB / 1.622 GB, free: 233.4 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00276/3.248, allocations: 2.053 MB / 1.624 GB, free: 232.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002175/3.251, allocations: 0.9481 MB / 1.625 GB, free: 232.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/3.251, allocations: 1.125 kB / 1.625 GB, free: 232.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000423/3.251, allocations: 226.2 kB / 1.625 GB, free: 232.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/3.254, allocations: 0.5273 MB / 1.626 GB, free: 232.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004572/3.258, allocations: 1.923 MB / 1.628 GB, free: 231.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/3.259, allocations: 1.244 MB / 1.629 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002458/3.262, allocations: 0.6677 MB / 1.629 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004841/3.262, allocations: 339.6 kB / 1.63 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of SimCode: time 2.114e-06/3.262, allocations: 3.125 kB / 1.63 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08548/3.348, allocations: 28.15 MB / 1.657 GB, free: 230.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/3.348, allocations: 210.6 kB / 1.657 GB, free: 230.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.065/6.413, allocations: 3.281 kB / 1.657 GB, free: 230.2 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)