Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",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.292/2.292, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001264/0.001263, allocations: 183.3 kB / 498.1 MB, free: 5.73 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.587/1.587, allocations: 223.2 MB / 0.7948 GB, free: 17.81 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.000953/0.0009532, allocations: 98.73 kB / 0.9346 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.000363, allocations: 5.812 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2874, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.269/5.556, allocations: 2.166 GB / 3.389 GB, free: 264.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/5.556, allocations: 109.2 kB / 3.389 GB, free: 264.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.564/7.121, allocations: 489.5 MB / 3.867 GB, free: 251 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.993e-06/7.121, allocations: 0 / 3.867 GB, free: 251 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002143/7.121, allocations: 39.98 kB / 3.867 GB, free: 251 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.005445/7.126, allocations: 1.766 MB / 3.869 GB, free: 249.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/7.126, allocations: 8.031 kB / 3.869 GB, free: 249.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005863/7.127, allocations: 168.1 kB / 3.869 GB, free: 249 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003572/7.13, allocations: 493.3 kB / 3.869 GB, free: 248.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003723/7.134, allocations: 1.335 MB / 3.871 GB, free: 247.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-05/7.134, allocations: 78 kB / 3.871 GB, free: 247.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003489/7.135, allocations: 100 kB / 3.871 GB, free: 247 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/7.137, allocations: 1.245 MB / 3.872 GB, free: 245.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/7.137, allocations: 7.984 kB / 3.872 GB, free: 245.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/7.137, allocations: 44.52 kB / 3.872 GB, free: 245.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.913e-05/7.137, allocations: 37.98 kB / 3.872 GB, free: 245.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/7.139, allocations: 1.194 MB / 3.873 GB, free: 244.4 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.007366/7.147, allocations: 4.883 MB / 3.878 GB, free: 239.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/7.148, allocations: 0.9929 MB / 3.879 GB, free: 238.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000328/7.148, allocations: 202.8 kB / 3.879 GB, free: 237.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/7.148, allocations: 47.22 kB / 3.879 GB, free: 237.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=78): time 3.757e-06/7.148, allocations: 0 / 3.879 GB, free: 237.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=81): time 0.006039/7.154, allocations: 2.987 MB / 3.882 GB, free: 234.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/7.154, allocations: 60.06 kB / 3.882 GB, free: 234.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/7.156, allocations: 0.859 MB / 3.883 GB, free: 233.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001232/7.156, allocations: 45.7 kB / 3.883 GB, free: 233.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000394/7.156, allocations: 0.535 MB / 3.884 GB, free: 233.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/7.157, allocations: 283.8 kB / 3.884 GB, free: 233 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/7.157, allocations: 27.94 kB / 3.884 GB, free: 233 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.481e-05/7.157, allocations: 338 kB / 3.884 GB, free: 232.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005595/7.158, allocations: 437.7 kB / 3.885 GB, free: 232.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000672/7.158, allocations: 0.5971 MB / 3.885 GB, free: 231.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007232/7.159, allocations: 0.5455 MB / 3.886 GB, free: 231 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/7.159, allocations: 0 / 3.886 GB, free: 231 MB / 1.167 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00181/7.161, allocations: 1.239 MB / 3.887 GB, free: 229.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003109/7.161, allocations: 1.059 MB / 3.888 GB, free: 228.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/7.161, allocations: 4 kB / 3.888 GB, free: 228.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002633/7.161, allocations: 64.81 kB / 3.888 GB, free: 228.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009828/7.162, allocations: 195.7 kB / 3.888 GB, free: 228.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/7.165, allocations: 3.007 MB / 3.891 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/7.166, allocations: 147.6 kB / 3.891 GB, free: 225 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/7.166, allocations: 35.98 kB / 3.891 GB, free: 225 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/7.167, allocations: 11.95 kB / 3.891 GB, free: 225 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001569/7.168, allocations: 1.113 MB / 3.893 GB, free: 223.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/7.168, allocations: 4 kB / 3.893 GB, free: 223.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/7.168, allocations: 77.19 kB / 3.893 GB, free: 223.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007334/7.169, allocations: 175.7 kB / 3.893 GB, free: 223.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/7.171, allocations: 1.834 MB / 3.895 GB, free: 221.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/7.172, allocations: 159.6 kB / 3.895 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-05/7.172, allocations: 24 kB / 3.895 GB, free: 221.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001076/7.174, allocations: 0.5982 MB / 3.895 GB, free: 220.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003327/7.174, allocations: 114.7 kB / 3.895 GB, free: 220.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/7.176, allocations: 1.2 MB / 3.897 GB, free: 219.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/7.176, allocations: 8 kB / 3.897 GB, free: 219.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/7.176, allocations: 0 / 3.897 GB, free: 219.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001289/7.177, allocations: 1.241 MB / 3.898 GB, free: 218.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004484/7.182, allocations: 2.815 MB / 3.901 GB, free: 215.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/7.182, allocations: 4 kB / 3.901 GB, free: 215.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/7.183, allocations: 235.7 kB / 3.901 GB, free: 215.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002027/7.183, allocations: 64.81 kB / 3.901 GB, free: 215 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.425e-05/7.183, allocations: 31.92 kB / 3.901 GB, free: 215 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/7.184, allocations: 3.003 MB / 3.904 GB, free: 211.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/7.184, allocations: 3.938 kB / 3.904 GB, free: 211.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/7.187, allocations: 1.944 MB / 3.906 GB, free: 209.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008487/7.188, allocations: 327.6 kB / 3.906 GB, free: 209.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/7.188, allocations: 20 kB / 3.906 GB, free: 209.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/7.189, allocations: 115.7 kB / 3.906 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.661e-05/7.189, allocations: 52.53 kB / 3.906 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.926e-05/7.189, allocations: 39.98 kB / 3.906 GB, free: 209.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008911/7.19, allocations: 0.6879 MB / 3.907 GB, free: 208.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.71e-07/7.19, allocations: 0 / 3.907 GB, free: 208.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002733/7.193, allocations: 0.7812 MB / 3.908 GB, free: 207.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.medium.Xi[1],vol[1].dynBal.U,vol[2].dynBal.medium.Xi[1],vol[2].dynBal.U,vol[3].dynBal.medium.Xi[1],vol[3].dynBal.U,vol[3].dynBal.m) * 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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00417/7.197, allocations: 4.274 MB / 3.912 GB, free: 203.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00265/7.2, allocations: 1.881 MB / 3.914 GB, free: 201.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/7.2, allocations: 3.938 kB / 3.914 GB, free: 201.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007596/7.201, allocations: 0.6659 MB / 3.914 GB, free: 200.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003286/7.204, allocations: 0.7806 MB / 3.915 GB, free: 200 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/7.217, allocations: 10.29 MB / 3.925 GB, free: 189.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009911/7.218, allocations: 1.445 MB / 3.927 GB, free: 187.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001903/7.22, allocations: 0.6923 MB / 3.927 GB, free: 187.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006328/7.221, allocations: 459.3 kB / 3.928 GB, free: 186.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.182e-06/7.221, allocations: 0 / 3.928 GB, free: 186.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08068/7.301, allocations: 58.2 MB / 3.985 GB, free: 129 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002567/7.302, allocations: 272.8 kB / 3.985 GB, free: 128.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.76/11.06, allocations: 3.875 kB / 3.985 GB, free: 128.7 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir_res.mat does not exist to compare? outputFormat=mat