Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.217/2.217, allocations: 390.5 MB / 398 MB, free: 10.92 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.001068/0.001068, allocations: 188.8 kB / 491.2 MB, free: 1.539 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.638/1.638, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.0009206/0.0009207, allocations: 87.84 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.484e-05/2.52e-05, allocations: 10.58 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.318, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.217/2.535, allocations: 0.6126 GB / 1.825 GB, free: 347.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/2.536, allocations: 86.83 kB / 1.825 GB, free: 347.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.3208/2.857, allocations: 169.1 MB / 1.99 GB, free: 198.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.593e-06/2.857, allocations: 4 kB / 1.99 GB, free: 198.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.367e-05/2.857, allocations: 19.98 kB / 1.99 GB, free: 198.7 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001766/2.859, allocations: 0.9473 MB / 1.991 GB, free: 197.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.4e-05/2.859, allocations: 15.97 kB / 1.991 GB, free: 197.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002201/2.861, allocations: 262.8 kB / 1.991 GB, free: 197.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/2.862, allocations: 0.7064 MB / 1.992 GB, free: 196.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/2.862, allocations: 16 kB / 1.992 GB, free: 196.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.277e-05/2.862, allocations: 27.98 kB / 1.992 GB, free: 196.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004795/2.863, allocations: 290.6 kB / 1.992 GB, free: 196.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006001/2.863, allocations: 443.1 kB / 1.993 GB, free: 195.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/2.863, allocations: 4 kB / 1.993 GB, free: 195.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/2.863, allocations: 4 kB / 1.993 GB, free: 195.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/2.863, allocations: 12 kB / 1.993 GB, free: 195.9 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.002207/2.866, allocations: 2.695 MB / 1.995 GB, free: 192.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/2.866, allocations: 266.8 kB / 1.996 GB, free: 192.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/2.866, allocations: 138 kB / 1.996 GB, free: 192.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003977/2.866, allocations: 0.6651 MB / 1.997 GB, free: 191.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/2.866, allocations: 34.83 kB / 1.997 GB, free: 191.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 2.695e-06/2.867, allocations: 0 / 1.997 GB, free: 191.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.004412/2.871, allocations: 1.667 MB / 1.998 GB, free: 189.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/2.871, allocations: 85.14 kB / 1.998 GB, free: 189.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004345/2.871, allocations: 410.2 kB / 1.999 GB, free: 189.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/2.871, allocations: 25.7 kB / 1.999 GB, free: 189.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/2.872, allocations: 324.3 kB / 1.999 GB, free: 189.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.796e-05/2.872, allocations: 138 kB / 1.999 GB, free: 188.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/2.872, allocations: 0 / 1.999 GB, free: 188.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.191e-05/2.872, allocations: 362.8 kB / 1.999 GB, free: 188.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/2.872, allocations: 149.1 kB / 2 GB, free: 188.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/2.872, allocations: 259 kB / 2 GB, free: 188.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/2.873, allocations: 191.9 kB / 2 GB, free: 187.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/2.873, allocations: 11.95 kB / 2 GB, free: 187.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001316/2.874, allocations: 0.6584 MB / 2.001 GB, free: 187.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002619/2.874, allocations: 1.225 MB / 2.002 GB, free: 185.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/2.874, allocations: 7.938 kB / 2.002 GB, free: 185.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007738/2.875, allocations: 261.5 kB / 2.002 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/2.875, allocations: 63.91 kB / 2.002 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003959/2.879, allocations: 3.991 MB / 2.006 GB, free: 181.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/2.88, allocations: 83.81 kB / 2.006 GB, free: 181.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.538e-05/2.88, allocations: 16 kB / 2.006 GB, free: 181.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/2.881, allocations: 8 kB / 2.006 GB, free: 181.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00131/2.882, allocations: 0.5787 MB / 2.007 GB, free: 180.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/2.882, allocations: 4 kB / 2.007 GB, free: 180.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007258/2.883, allocations: 253.8 kB / 2.007 GB, free: 180.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/2.883, allocations: 71.89 kB / 2.007 GB, free: 180.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003844/2.887, allocations: 3.988 MB / 2.011 GB, free: 176.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/2.888, allocations: 83.8 kB / 2.011 GB, free: 176.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/2.888, allocations: 20 kB / 2.011 GB, free: 176 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002237/2.888, allocations: 134.5 kB / 2.011 GB, free: 175.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001367/2.889, allocations: 0.5879 MB / 2.012 GB, free: 175.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.781e-05/2.89, allocations: 59.3 kB / 2.012 GB, free: 175.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/2.891, allocations: 0.6064 MB / 2.012 GB, free: 174.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/2.891, allocations: 4 kB / 2.012 GB, free: 174.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/2.891, allocations: 3.953 kB / 2.012 GB, free: 174.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00113/2.892, allocations: 0.6862 MB / 2.013 GB, free: 173.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/2.895, allocations: 1.567 MB / 2.015 GB, free: 172.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/2.895, allocations: 4 kB / 2.015 GB, free: 172.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/2.895, allocations: 55.91 kB / 2.015 GB, free: 172.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007744/2.896, allocations: 233.5 kB / 2.015 GB, free: 172 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/2.896, allocations: 7.984 kB / 2.015 GB, free: 171.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003538/2.899, allocations: 3.715 MB / 2.019 GB, free: 168 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/2.899, allocations: 3.953 kB / 2.019 GB, free: 168 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/2.901, allocations: 0.8814 MB / 2.019 GB, free: 167.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002732/2.901, allocations: 192.3 kB / 2.02 GB, free: 166.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.416e-05/2.901, allocations: 4 kB / 2.02 GB, free: 166.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000925/2.902, allocations: 59.98 kB / 2.02 GB, free: 166.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-05/2.902, allocations: 31.95 kB / 2.02 GB, free: 166.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/2.902, allocations: 15.98 kB / 2.02 GB, free: 166.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003694/2.903, allocations: 310.9 kB / 2.02 GB, free: 166.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.2e-07/2.903, allocations: 0 / 2.02 GB, free: 166.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00187/2.905, allocations: 451.8 kB / 2.02 GB, free: 166 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.ports[2].h_outflow,vol1.ports[1].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002391/2.907, allocations: 1.718 MB / 2.022 GB, free: 164.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002466/2.909, allocations: 1.248 MB / 2.023 GB, free: 163 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/2.909, allocations: 0 / 2.023 GB, free: 163 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/2.91, allocations: 0.5034 MB / 2.024 GB, free: 162.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/2.912, allocations: 323.1 kB / 2.024 GB, free: 162.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/2.915, allocations: 1.043 MB / 2.025 GB, free: 161.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/2.915, allocations: 0.943 MB / 2.026 GB, free: 160.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000889/2.916, allocations: 165 kB / 2.026 GB, free: 159.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003088/2.917, allocations: 209.4 kB / 2.026 GB, free: 159.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.362e-06/2.917, allocations: 4 kB / 2.026 GB, free: 159.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04793/2.965, allocations: 21.99 MB / 2.048 GB, free: 137.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/2.965, allocations: 237.9 kB / 2.048 GB, free: 137.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.726/5.691, allocations: 2.188 kB / 2.048 GB, free: 137.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity_res.mat does not exist to compare? outputFormat=mat