Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.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.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",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.209/2.209, allocations: 390.3 MB / 405.3 MB, free: 13.54 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.00118/0.00118, allocations: 175.6 kB / 498.1 MB, free: 5.785 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.44/1.44, allocations: 223.2 MB / 0.7948 GB, free: 17.99 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.0008911/0.0008911, allocations: 106.8 kB / 0.9346 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003997, allocations: 10.69 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.307/1.607, allocations: 0.6125 GB / 1.835 GB, free: 0.8945 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/1.607, allocations: 94.86 kB / 1.836 GB, free: 0.8438 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 1.058/2.665, allocations: 174.3 MB / 2.006 GB, free: 345.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.305e-06/2.665, allocations: 4 kB / 2.006 GB, free: 345.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000113/2.666, allocations: 19.98 kB / 2.006 GB, free: 345.4 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002665/2.668, allocations: 1.073 MB / 2.007 GB, free: 344.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/2.668, allocations: 12.02 kB / 2.007 GB, free: 344.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001994/2.669, allocations: 82.53 kB / 2.007 GB, free: 344.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002478/2.671, allocations: 270.8 kB / 2.007 GB, free: 343.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/2.673, allocations: 0.7295 MB / 2.008 GB, free: 343.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/2.673, allocations: 33 kB / 2.008 GB, free: 343.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/2.673, allocations: 51.95 kB / 2.008 GB, free: 343 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008989/2.674, allocations: 0.5087 MB / 2.008 GB, free: 342.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/2.674, allocations: 3.938 kB / 2.008 GB, free: 342.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-05/2.674, allocations: 23.98 kB / 2.008 GB, free: 342.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/2.674, allocations: 12 kB / 2.008 GB, free: 342.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006713/2.675, allocations: 343.7 kB / 2.009 GB, free: 342.1 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.003332/2.678, allocations: 2.785 MB / 2.012 GB, free: 339.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005049/2.679, allocations: 299.2 kB / 2.012 GB, free: 338.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004676/2.679, allocations: 0.6573 MB / 2.012 GB, free: 338 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/2.679, allocations: 42.84 kB / 2.013 GB, free: 337.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=28): time 3.366e-06/2.679, allocations: 3.938 kB / 2.013 GB, free: 337.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=40): time 0.006352/2.686, allocations: 2.202 MB / 2.015 GB, free: 335.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/2.686, allocations: 85.11 kB / 2.015 GB, free: 335.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005787/2.686, allocations: 466.1 kB / 2.015 GB, free: 335.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/2.686, allocations: 37.7 kB / 2.015 GB, free: 335 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/2.686, allocations: 328.4 kB / 2.016 GB, free: 334.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/2.687, allocations: 141.9 kB / 2.016 GB, free: 334.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/2.687, allocations: 8 kB / 2.016 GB, free: 334.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.018e-05/2.687, allocations: 362.8 kB / 2.016 GB, free: 334.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/2.687, allocations: 169 kB / 2.016 GB, free: 334 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/2.687, allocations: 296 kB / 2.016 GB, free: 333.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/2.688, allocations: 207.5 kB / 2.017 GB, free: 333.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/2.688, allocations: 0 / 2.017 GB, free: 333.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001511/2.689, allocations: 0.7282 MB / 2.017 GB, free: 332.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002184/2.689, allocations: 1.229 MB / 2.019 GB, free: 331.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/2.689, allocations: 4 kB / 2.019 GB, free: 331.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009172/2.69, allocations: 277.5 kB / 2.019 GB, free: 331.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/2.691, allocations: 71.84 kB / 2.019 GB, free: 331 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00526/2.696, allocations: 4.407 MB / 2.023 GB, free: 326.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/2.697, allocations: 83.88 kB / 2.023 GB, free: 326.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/2.697, allocations: 20 kB / 2.023 GB, free: 326.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/2.697, allocations: 5.594 kB / 2.023 GB, free: 326.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001489/2.699, allocations: 0.6531 MB / 2.024 GB, free: 325.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/2.699, allocations: 15.95 kB / 2.024 GB, free: 325.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008717/2.7, allocations: 269.4 kB / 2.024 GB, free: 325.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/2.7, allocations: 71.91 kB / 2.024 GB, free: 325.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005128/2.705, allocations: 4.419 MB / 2.029 GB, free: 320.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/2.706, allocations: 87.95 kB / 2.029 GB, free: 320.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.738e-05/2.706, allocations: 23.98 kB / 2.029 GB, free: 320.5 MB / 1.167 GB 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 () * Number of clocked 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.0004679/2.707, allocations: 292.9 kB / 2.029 GB, free: 320.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/2.707, allocations: 55.34 kB / 2.029 GB, free: 320.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/2.709, allocations: 0.6563 MB / 2.03 GB, free: 319.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/2.709, allocations: 8 kB / 2.03 GB, free: 319.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/2.709, allocations: 0 / 2.03 GB, free: 319.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001341/2.71, allocations: 0.7453 MB / 2.03 GB, free: 318.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/2.713, allocations: 1.691 MB / 2.032 GB, free: 316.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/2.713, allocations: 0 / 2.032 GB, free: 316.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/2.714, allocations: 55.91 kB / 2.032 GB, free: 316.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009198/2.714, allocations: 249.5 kB / 2.032 GB, free: 316.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/2.715, allocations: 15.95 kB / 2.032 GB, free: 316.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00452/2.719, allocations: 3.998 MB / 2.036 GB, free: 312.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/2.719, allocations: 0 / 2.036 GB, free: 312.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/2.721, allocations: 0.9405 MB / 2.037 GB, free: 311.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003668/2.721, allocations: 196.4 kB / 2.037 GB, free: 311.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.598e-05/2.721, allocations: 15.94 kB / 2.037 GB, free: 311.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009781/2.722, allocations: 71.83 kB / 2.037 GB, free: 311 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/2.723, allocations: 35.89 kB / 2.038 GB, free: 311 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/2.723, allocations: 16.48 kB / 2.038 GB, free: 311 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005638/2.723, allocations: 366.8 kB / 2.038 GB, free: 310.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/2.723, allocations: 0 / 2.038 GB, free: 310.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001771/2.725, allocations: 439.8 kB / 2.038 GB, free: 310.2 MB / 1.167 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 () * Number of clocked 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.002773/2.728, allocations: 1.788 MB / 2.04 GB, free: 308.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002958/2.731, allocations: 1.358 MB / 2.041 GB, free: 306.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/2.731, allocations: 0 / 2.041 GB, free: 306.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/2.732, allocations: 0.5482 MB / 2.042 GB, free: 306.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/2.734, allocations: 338.9 kB / 2.042 GB, free: 306 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006459/2.74, allocations: 5.794 MB / 2.048 GB, free: 300.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/2.741, allocations: 0.9419 MB / 2.049 GB, free: 299.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0006694/2.741, allocations: 137.1 kB / 2.049 GB, free: 299 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/2.741, allocations: 215.4 kB / 2.049 GB, free: 298.8 MB / 1.167 GB Notification: Performance of SimCode: time 6.01e-07/2.741, allocations: 0 / 2.049 GB, free: 298.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03876/2.78, allocations: 23.23 MB / 2.072 GB, free: 276 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/2.78, allocations: 308.6 kB / 2.072 GB, free: 275.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.85/5.63, allocations: 0 / 2.072 GB, free: 275.7 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity_res.mat does not exist to compare? outputFormat=mat