Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.297/2.297, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001398/0.001398, allocations: 196.9 kB / 498.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.707/1.707, allocations: 223.1 MB / 0.7948 GB, free: 18.85 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.001049/0.001049, allocations: 108.8 kB / 0.9346 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003744, allocations: 8.812 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3247, allocations: 142.3 MB / 1.223 GB, free: 89.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.249/1.574, allocations: 412.7 MB / 1.626 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/1.574, allocations: 97.2 kB / 1.626 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.355/2.929, allocations: 249.3 MB / 1.87 GB, free: 357.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.974e-06/2.929, allocations: 0 / 1.87 GB, free: 357.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002048/2.929, allocations: 35 kB / 1.87 GB, free: 357.2 MB / 1.167 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.004742/2.934, allocations: 1.425 MB / 1.871 GB, free: 356.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.97e-05/2.934, allocations: 8.5 kB / 1.871 GB, free: 356.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004567/2.934, allocations: 130.2 kB / 1.871 GB, free: 356.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008912/2.935, allocations: 139.2 kB / 1.871 GB, free: 356.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01897/2.954, allocations: 7.838 MB / 1.879 GB, free: 356 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/2.954, allocations: 57.31 kB / 1.879 GB, free: 356 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000361/2.955, allocations: 80.27 kB / 1.879 GB, free: 356 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/2.957, allocations: 0.9669 MB / 1.88 GB, free: 355.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.585e-05/2.957, allocations: 12.84 kB / 1.88 GB, free: 355.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002066/2.958, allocations: 31.5 kB / 1.88 GB, free: 355.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.708e-05/2.958, allocations: 27.97 kB / 1.88 GB, free: 355.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/2.959, allocations: 0.694 MB / 1.881 GB, free: 355.9 MB / 1.167 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.007449/2.967, allocations: 4.551 MB / 1.885 GB, free: 353.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006153/2.967, allocations: 383.4 kB / 1.885 GB, free: 353.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003651/2.968, allocations: 432.7 kB / 1.886 GB, free: 352.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/2.968, allocations: 46.19 kB / 1.886 GB, free: 352.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=40): time 3.747e-06/2.968, allocations: 0 / 1.886 GB, free: 352.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=40): time 0.002042/2.97, allocations: 0.8375 MB / 1.887 GB, free: 352.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/2.97, allocations: 56.81 kB / 1.887 GB, free: 352.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/2.971, allocations: 0.8442 MB / 1.888 GB, free: 352.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/2.972, allocations: 37.52 kB / 1.888 GB, free: 352.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004447/2.972, allocations: 0.5067 MB / 1.888 GB, free: 352.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/2.972, allocations: 143.9 kB / 1.888 GB, free: 352 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/2.972, allocations: 10.81 kB / 1.888 GB, free: 352 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.711e-05/2.972, allocations: 328.6 kB / 1.889 GB, free: 351.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/2.973, allocations: 218.2 kB / 1.889 GB, free: 351.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005958/2.973, allocations: 444 kB / 1.889 GB, free: 351.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006625/2.974, allocations: 311.4 kB / 1.89 GB, free: 351.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/2.974, allocations: 2.156 kB / 1.89 GB, free: 351.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001613/2.976, allocations: 0.7961 MB / 1.89 GB, free: 351.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005722/2.976, allocations: 2.179 MB / 1.892 GB, free: 349 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/2.976, allocations: 5.562 kB / 1.892 GB, free: 349 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002968/2.977, allocations: 66.34 kB / 1.893 GB, free: 349 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/2.977, allocations: 113 kB / 1.893 GB, free: 349 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004974/2.977, allocations: 0.6326 MB / 1.893 GB, free: 348.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/2.979, allocations: 102.4 kB / 1.893 GB, free: 348.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.011e-05/2.979, allocations: 37.44 kB / 1.893 GB, free: 348.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/2.979, allocations: 4.375 kB / 1.893 GB, free: 348.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001521/2.98, allocations: 0.6732 MB / 1.894 GB, free: 348.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/2.98, allocations: 5.844 kB / 1.894 GB, free: 348.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002297/2.981, allocations: 66.34 kB / 1.894 GB, free: 348.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/2.981, allocations: 110.4 kB / 1.894 GB, free: 348.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/2.983, allocations: 1.667 MB / 1.896 GB, free: 347.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/2.984, allocations: 101.8 kB / 1.896 GB, free: 347.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.21e-05/2.984, allocations: 33.38 kB / 1.896 GB, free: 347.1 MB / 1.167 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 () * Number of clocked 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.0009018/2.985, allocations: 480.8 kB / 1.896 GB, free: 346.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003683/2.985, allocations: 96.62 kB / 1.897 GB, free: 346.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/2.986, allocations: 0.649 MB / 1.897 GB, free: 346.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/2.986, allocations: 3.906 kB / 1.897 GB, free: 346.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/2.986, allocations: 6.938 kB / 1.897 GB, free: 346.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007433/2.987, allocations: 0.8197 MB / 1.898 GB, free: 346.3 MB / 1.167 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 postOpt removeSimpleEquations (simulation): time 0.003288/2.99, allocations: 1.673 MB / 1.9 GB, free: 345.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/2.99, allocations: 7.359 kB / 1.9 GB, free: 345.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/2.991, allocations: 87.09 kB / 1.9 GB, free: 345.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/2.991, allocations: 37.06 kB / 1.9 GB, free: 345.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.212e-05/2.991, allocations: 15.27 kB / 1.9 GB, free: 345.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003032/2.991, allocations: 0.5704 MB / 1.9 GB, free: 345.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/2.991, allocations: 0 / 1.9 GB, free: 345.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/2.993, allocations: 0.9838 MB / 1.901 GB, free: 345.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007538/2.993, allocations: 268.8 kB / 1.902 GB, free: 344.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002683/2.994, allocations: 15.52 kB / 1.902 GB, free: 344.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008566/2.994, allocations: 70.92 kB / 1.902 GB, free: 344.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/2.995, allocations: 26.47 kB / 1.902 GB, free: 344.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.796e-05/2.995, allocations: 25.22 kB / 1.902 GB, free: 344.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001001/2.996, allocations: 0.6645 MB / 1.902 GB, free: 344.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.2e-07/2.996, allocations: 0 / 1.902 GB, free: 344.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002709/2.998, allocations: 0.6015 MB / 1.903 GB, free: 344.7 MB / 1.167 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 () * Number of clocked 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.002342/3.001, allocations: 2.088 MB / 1.905 GB, free: 343.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001721/3.002, allocations: 0.9957 MB / 1.906 GB, free: 343.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/3.002, allocations: 0 / 1.906 GB, free: 343.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003453/3.003, allocations: 246.4 kB / 1.906 GB, free: 343.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002862/3.006, allocations: 0.5525 MB / 1.907 GB, free: 343.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/3.018, allocations: 9.775 MB / 1.916 GB, free: 338 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000885/3.018, allocations: 1.25 MB / 1.917 GB, free: 337.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001524/3.02, allocations: 460.8 kB / 1.918 GB, free: 337.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000591/3.021, allocations: 364.1 kB / 1.918 GB, free: 337.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.396e-05/3.021, allocations: 3.25 kB / 1.918 GB, free: 337.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05647/3.077, allocations: 30.43 MB / 1.948 GB, free: 336 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/3.077, allocations: 278.2 kB / 1.948 GB, free: 335.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.011/6.088, allocations: 0 / 1.948 GB, free: 335.6 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat does not exist to compare? outputFormat=mat