Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.781/1.781, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001331/0.001331, allocations: 184.8 kB / 366.7 MB, free: 1.645 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.755/1.755, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0009452/0.0009453, allocations: 85.58 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.221e-05, allocations: 7.984 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7559/0.756, allocations: 116.3 MB / 0.9733 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.16/1.916, allocations: 401 MB / 1.365 GB, free: 155.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004124/1.916, allocations: 95.25 kB / 1.365 GB, free: 155.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.5362/2.452, allocations: 240.8 MB / 1.6 GB, free: 6.965 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.345e-06/2.452, allocations: 0 / 1.6 GB, free: 6.965 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000194/2.453, allocations: 31.98 kB / 1.6 GB, free: 6.934 MB / 0.9323 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.003589/2.456, allocations: 1.193 MB / 1.601 GB, free: 5.695 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.505e-05/2.456, allocations: 12.03 kB / 1.601 GB, free: 5.684 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009678/2.457, allocations: 138.4 kB / 1.602 GB, free: 5.547 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01933/2.477, allocations: 7.581 MB / 1.609 GB, free: 13.85 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.662e-05/2.477, allocations: 24 kB / 1.609 GB, free: 13.83 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003496/2.477, allocations: 47.91 kB / 1.609 GB, free: 13.78 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001703/2.479, allocations: 0.6403 MB / 1.61 GB, free: 13.14 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/2.481, allocations: 0.8502 MB / 1.61 GB, free: 12.25 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.908e-05/2.481, allocations: 3.984 kB / 1.61 GB, free: 12.24 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/2.481, allocations: 4 kB / 1.61 GB, free: 12.24 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.328e-05/2.481, allocations: 31.89 kB / 1.61 GB, free: 12.21 MB / 0.948 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.006799/2.488, allocations: 4.383 MB / 1.615 GB, free: 7.496 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005451/2.489, allocations: 375.5 kB / 1.615 GB, free: 7.117 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/2.489, allocations: 243.3 kB / 1.615 GB, free: 6.879 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004661/2.489, allocations: 437.8 kB / 1.616 GB, free: 6.359 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/2.489, allocations: 38.89 kB / 1.616 GB, free: 6.312 MB / 0.948 GB Notification: Performance of pre-optimization done (n=40): time 3.126e-06/2.489, allocations: 0 / 1.616 GB, free: 6.312 MB / 0.948 GB Notification: Performance of matching and sorting (n=40): time 0.00145/2.491, allocations: 0.5345 MB / 1.616 GB, free: 5.77 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/2.491, allocations: 55.41 kB / 1.616 GB, free: 5.703 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/2.492, allocations: 0.7621 MB / 1.617 GB, free: 4.934 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.348e-05/2.492, allocations: 25.7 kB / 1.617 GB, free: 4.902 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004577/2.493, allocations: 0.4989 MB / 1.618 GB, free: 4.395 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000169/2.493, allocations: 141.9 kB / 1.618 GB, free: 4.254 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/2.493, allocations: 0 / 1.618 GB, free: 4.254 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001396/2.493, allocations: 337.9 kB / 1.618 GB, free: 3.918 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/2.493, allocations: 201 kB / 1.618 GB, free: 3.723 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000454/2.494, allocations: 419.3 kB / 1.619 GB, free: 3.211 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005708/2.494, allocations: 313.2 kB / 1.619 GB, free: 2.906 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/2.494, allocations: 4 kB / 1.619 GB, free: 2.902 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001466/2.496, allocations: 0.725 MB / 1.62 GB, free: 2.168 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.757/3.253, allocations: 2.175 MB / 1.622 GB, free: 251.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.71e-05/3.253, allocations: 5.375 kB / 1.622 GB, free: 251.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003848/3.253, allocations: 60.31 kB / 1.622 GB, free: 251.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006108/3.254, allocations: 111.8 kB / 1.622 GB, free: 251.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006181/3.255, allocations: 0.634 MB / 1.623 GB, free: 251.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/3.256, allocations: 92.53 kB / 1.623 GB, free: 251.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.575e-05/3.256, allocations: 32.8 kB / 1.623 GB, free: 251.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/3.256, allocations: 4.25 kB / 1.623 GB, free: 251.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001533/3.258, allocations: 0.6066 MB / 1.623 GB, free: 251.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/3.258, allocations: 4.906 kB / 1.623 GB, free: 251.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002024/3.258, allocations: 65.22 kB / 1.623 GB, free: 251.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/3.258, allocations: 111.2 kB / 1.624 GB, free: 251.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/3.26, allocations: 1.597 MB / 1.625 GB, free: 249.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000934/3.261, allocations: 84.06 kB / 1.625 GB, free: 249.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/3.261, allocations: 32.67 kB / 1.625 GB, free: 249.8 MB / 0.948 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.0002585/3.261, allocations: 123.8 kB / 1.625 GB, free: 249.7 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001213/3.262, allocations: 0.526 MB / 1.626 GB, free: 249.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/3.262, allocations: 85.05 kB / 1.626 GB, free: 249.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/3.264, allocations: 0.5985 MB / 1.626 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/3.264, allocations: 4.953 kB / 1.626 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/3.264, allocations: 3.156 kB / 1.626 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00105/3.265, allocations: 0.7919 MB / 1.627 GB, free: 249.1 MB / 0.948 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.00348/3.268, allocations: 1.526 MB / 1.629 GB, free: 248.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/3.268, allocations: 0.9062 kB / 1.629 GB, free: 248.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004572/3.269, allocations: 84.41 kB / 1.629 GB, free: 248.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/3.269, allocations: 26.73 kB / 1.629 GB, free: 248.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/3.269, allocations: 13.95 kB / 1.629 GB, free: 248.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003327/3.269, allocations: 0.5722 MB / 1.629 GB, free: 248.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/3.269, allocations: 3.062 kB / 1.629 GB, free: 248.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/3.271, allocations: 0.9459 MB / 1.63 GB, free: 247.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004872/3.272, allocations: 270.9 kB / 1.631 GB, free: 247.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/3.272, allocations: 2.688 kB / 1.631 GB, free: 247.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006049/3.272, allocations: 54.05 kB / 1.631 GB, free: 247.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/3.272, allocations: 32.72 kB / 1.631 GB, free: 247.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.008e-05/3.272, allocations: 23.8 kB / 1.631 GB, free: 247.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000993/3.273, allocations: 0.5903 MB / 1.631 GB, free: 247.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/3.273, allocations: 3.156 kB / 1.631 GB, free: 247.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002947/3.276, allocations: 0.5756 MB / 1.632 GB, free: 247.7 MB / 0.948 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.00249/3.279, allocations: 2.052 MB / 1.634 GB, free: 246.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001914/3.281, allocations: 0.9483 MB / 1.635 GB, free: 246.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/3.281, allocations: 1.125 kB / 1.635 GB, free: 246.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000376/3.281, allocations: 226.2 kB / 1.635 GB, free: 246.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/3.284, allocations: 0.5356 MB / 1.636 GB, free: 246.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/3.288, allocations: 1.911 MB / 1.637 GB, free: 246 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008775/3.289, allocations: 1.244 MB / 1.639 GB, free: 245.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00197/3.291, allocations: 0.667 MB / 1.639 GB, free: 245.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004333/3.291, allocations: 343 kB / 1.64 GB, free: 245.3 MB / 0.948 GB Notification: Performance of SimCode: time 7.81e-07/3.291, allocations: 0 / 1.64 GB, free: 245.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07613/3.367, allocations: 28.14 MB / 1.667 GB, free: 244.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/3.367, allocations: 204 kB / 1.667 GB, free: 244.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.354/6.722, allocations: 0 / 1.667 GB, free: 244.5 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)