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.368/2.368, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001203/0.001204, allocations: 172.8 kB / 487.4 MB, free: 5.039 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.684/1.684, allocations: 221.5 MB / 0.7824 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 97.52 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.25e-05/2.251e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3328, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.402/1.735, allocations: 412 MB / 1.608 GB, free: 10.14 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/1.735, allocations: 89.89 kB / 1.608 GB, free: 10.09 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.484/3.22, allocations: 247.2 MB / 1.85 GB, free: 362.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.863e-06/3.22, allocations: 0 / 1.85 GB, free: 362.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001062/3.22, allocations: 39.97 kB / 1.85 GB, free: 362.5 MB / 1.151 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.002003/3.222, allocations: 1.201 MB / 1.851 GB, free: 361.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/3.222, allocations: 15.69 kB / 1.851 GB, free: 361.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000427/3.222, allocations: 138.4 kB / 1.851 GB, free: 361.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01499/3.237, allocations: 7.755 MB / 1.859 GB, free: 354.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/3.237, allocations: 24 kB / 1.859 GB, free: 354.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/3.237, allocations: 48 kB / 1.859 GB, free: 354.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001041/3.238, allocations: 0.6402 MB / 1.859 GB, free: 354 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/3.24, allocations: 0.8498 MB / 1.86 GB, free: 353.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/3.24, allocations: 8 kB / 1.86 GB, free: 353.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.174e-05/3.24, allocations: 4 kB / 1.86 GB, free: 353.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.499e-05/3.24, allocations: 23.98 kB / 1.86 GB, free: 353 MB / 1.151 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.004185/3.244, allocations: 4.399 MB / 1.865 GB, free: 348.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/3.244, allocations: 367.6 kB / 1.865 GB, free: 348 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/3.245, allocations: 245.4 kB / 1.865 GB, free: 347.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003458/3.245, allocations: 429.3 kB / 1.866 GB, free: 347.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/3.245, allocations: 42.89 kB / 1.866 GB, free: 347.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=40): time 2.886e-06/3.245, allocations: 3.938 kB / 1.866 GB, free: 347.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.001138/3.246, allocations: 0.5344 MB / 1.866 GB, free: 346.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/3.246, allocations: 55.41 kB / 1.866 GB, free: 346.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008451/3.247, allocations: 0.7818 MB / 1.867 GB, free: 345.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/3.247, allocations: 25.7 kB / 1.867 GB, free: 345.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/3.247, allocations: 0.5066 MB / 1.868 GB, free: 345.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/3.248, allocations: 149.9 kB / 1.868 GB, free: 345.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/3.248, allocations: 0 / 1.868 GB, free: 345.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000101/3.248, allocations: 326 kB / 1.868 GB, free: 344.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/3.248, allocations: 201 kB / 1.868 GB, free: 344.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/3.248, allocations: 427.8 kB / 1.869 GB, free: 344 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/3.249, allocations: 301.3 kB / 1.869 GB, free: 343.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/3.249, allocations: 8 kB / 1.869 GB, free: 343.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001058/3.25, allocations: 0.7324 MB / 1.87 GB, free: 343 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007529/3.251, allocations: 2.175 MB / 1.872 GB, free: 340.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/3.251, allocations: 11.98 kB / 1.872 GB, free: 340.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002696/3.251, allocations: 56.64 kB / 1.872 GB, free: 340.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/3.251, allocations: 119.8 kB / 1.872 GB, free: 340.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004289/3.252, allocations: 0.6304 MB / 1.873 GB, free: 339.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008041/3.253, allocations: 91.44 kB / 1.873 GB, free: 339.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.15e-05/3.253, allocations: 35.92 kB / 1.873 GB, free: 339.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/3.253, allocations: 10.44 kB / 1.873 GB, free: 339.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008781/3.253, allocations: 0.5975 MB / 1.873 GB, free: 339.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/3.254, allocations: 4 kB / 1.873 GB, free: 339.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000129/3.254, allocations: 68.84 kB / 1.873 GB, free: 339 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/3.254, allocations: 115.8 kB / 1.873 GB, free: 338.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/3.255, allocations: 1.604 MB / 1.875 GB, free: 337.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005865/3.256, allocations: 79.53 kB / 1.875 GB, free: 337.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/3.256, allocations: 35.94 kB / 1.875 GB, free: 337.1 MB / 1.151 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.0001704/3.256, allocations: 120.9 kB / 1.875 GB, free: 336.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007822/3.257, allocations: 0.5278 MB / 1.876 GB, free: 336.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/3.257, allocations: 86.97 kB / 1.876 GB, free: 336.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009251/3.258, allocations: 0.5979 MB / 1.876 GB, free: 335.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/3.258, allocations: 8 kB / 1.876 GB, free: 335.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/3.258, allocations: 0 / 1.876 GB, free: 335.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007555/3.259, allocations: 0.7893 MB / 1.877 GB, free: 334.8 MB / 1.151 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.002012/3.261, allocations: 1.535 MB / 1.879 GB, free: 333.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/3.261, allocations: 0 / 1.879 GB, free: 333.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/3.261, allocations: 87.92 kB / 1.879 GB, free: 333.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.655e-05/3.261, allocations: 32.83 kB / 1.879 GB, free: 333.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/3.261, allocations: 4 kB / 1.879 GB, free: 333.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002828/3.262, allocations: 0.5681 MB / 1.879 GB, free: 332.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/3.262, allocations: 0 / 1.879 GB, free: 332.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/3.263, allocations: 0.9514 MB / 1.88 GB, free: 331.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000327/3.263, allocations: 259.9 kB / 1.881 GB, free: 331.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.559e-05/3.263, allocations: 15.94 kB / 1.881 GB, free: 331.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005159/3.264, allocations: 63.78 kB / 1.881 GB, free: 331.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/3.264, allocations: 27.91 kB / 1.881 GB, free: 331.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/3.264, allocations: 23.98 kB / 1.881 GB, free: 331.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006548/3.264, allocations: 0.6044 MB / 1.881 GB, free: 330.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/3.264, allocations: 0 / 1.881 GB, free: 330.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001875/3.266, allocations: 0.5689 MB / 1.882 GB, free: 329.9 MB / 1.151 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.00191/3.268, allocations: 2.043 MB / 1.884 GB, free: 327.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001382/3.27, allocations: 0.9567 MB / 1.885 GB, free: 326.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/3.27, allocations: 0 / 1.885 GB, free: 326.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000287/3.27, allocations: 231.7 kB / 1.885 GB, free: 326.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/3.272, allocations: 0.5271 MB / 1.885 GB, free: 326.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/3.276, allocations: 1.941 MB / 1.887 GB, free: 324.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006982/3.277, allocations: 1.245 MB / 1.889 GB, free: 322.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00151/3.278, allocations: 0.678 MB / 1.889 GB, free: 322.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004/3.278, allocations: 347.3 kB / 1.89 GB, free: 321.9 MB / 1.151 GB Notification: Performance of SimCode: time 5.41e-07/3.278, allocations: 0 / 1.89 GB, free: 321.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06572/3.344, allocations: 28.36 MB / 1.917 GB, free: 293.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/3.344, allocations: 202.3 kB / 1.917 GB, free: 293.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.992/6.337, allocations: 3.938 kB / 1.917 GB, free: 293.4 MB / 1.151 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