Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.CoupledVolumesWater,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater",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.256/2.256, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001178/0.001178, allocations: 176.8 kB / 487.4 MB, free: 5.051 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.688/1.688, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 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.0009629/0.0009633, allocations: 94.14 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.753e-05/2.755e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.306, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.32/1.626, allocations: 411.4 MB / 1.608 GB, free: 10.62 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/1.626, allocations: 85.52 kB / 1.608 GB, free: 10.58 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.43/3.056, allocations: 246.4 MB / 1.849 GB, free: 357.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.705e-06/3.056, allocations: 0 / 1.849 GB, free: 357.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.823e-05/3.056, allocations: 25.64 kB / 1.849 GB, free: 357.8 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.001516/3.058, allocations: 0.879 MB / 1.849 GB, free: 357.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/3.058, allocations: 8.125 kB / 1.849 GB, free: 357.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003216/3.058, allocations: 89 kB / 1.85 GB, free: 357 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02546/3.084, allocations: 12.39 MB / 1.862 GB, free: 349.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/3.084, allocations: 15.41 kB / 1.862 GB, free: 349.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.251e-05/3.084, allocations: 31.44 kB / 1.862 GB, free: 349.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006439/3.084, allocations: 258.9 kB / 1.862 GB, free: 349.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006848/3.085, allocations: 430.2 kB / 1.862 GB, free: 348.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/3.085, allocations: 0 / 1.862 GB, free: 348.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.292e-05/3.085, allocations: 4 kB / 1.862 GB, free: 348.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/3.085, allocations: 12 kB / 1.862 GB, free: 348.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.002788/3.088, allocations: 2.636 MB / 1.865 GB, free: 346.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/3.088, allocations: 174.9 kB / 1.865 GB, free: 345.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/3.089, allocations: 86.16 kB / 1.865 GB, free: 345.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003262/3.089, allocations: 340.6 kB / 1.866 GB, free: 345.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/3.089, allocations: 38.75 kB / 1.866 GB, free: 345.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=22): time 5.931e-06/3.089, allocations: 0 / 1.866 GB, free: 345.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=22): time 0.0005847/3.089, allocations: 236.5 kB / 1.866 GB, free: 345.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/3.09, allocations: 55.41 kB / 1.866 GB, free: 345 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004519/3.09, allocations: 442.2 kB / 1.866 GB, free: 344.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/3.09, allocations: 25.7 kB / 1.866 GB, free: 344.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/3.09, allocations: 343.3 kB / 1.867 GB, free: 344.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.684e-05/3.09, allocations: 78.84 kB / 1.867 GB, free: 344.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/3.09, allocations: 0 / 1.867 GB, free: 344.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001217/3.09, allocations: 362.7 kB / 1.867 GB, free: 343.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/3.091, allocations: 75.98 kB / 1.867 GB, free: 343.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/3.091, allocations: 226.8 kB / 1.867 GB, free: 343.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/3.091, allocations: 127.6 kB / 1.867 GB, free: 343.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/3.091, allocations: 4 kB / 1.867 GB, free: 343.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004983/3.092, allocations: 340.6 kB / 1.868 GB, free: 343 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000442/3.092, allocations: 1.66 MB / 1.869 GB, free: 341.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/3.092, allocations: 4 kB / 1.869 GB, free: 341.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/3.092, allocations: 8 kB / 1.869 GB, free: 341.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/3.092, allocations: 79.84 kB / 1.869 GB, free: 341.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/3.092, allocations: 4 kB / 1.869 GB, free: 341.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005313/3.093, allocations: 59.52 kB / 1.87 GB, free: 341 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/3.093, allocations: 20 kB / 1.87 GB, free: 341 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/3.093, allocations: 4 kB / 1.87 GB, free: 341 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004427/3.094, allocations: 267.6 kB / 1.87 GB, free: 340.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/3.094, allocations: 4 kB / 1.87 GB, free: 340.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.142e-06/3.094, allocations: 4 kB / 1.87 GB, free: 340.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/3.094, allocations: 86.97 kB / 1.87 GB, free: 340.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/3.094, allocations: 7.938 kB / 1.87 GB, free: 340.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/3.094, allocations: 44.31 kB / 1.87 GB, free: 340.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/3.094, allocations: 20 kB / 1.87 GB, free: 340.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001034/3.094, allocations: 108.9 kB / 1.87 GB, free: 340.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000419/3.095, allocations: 238 kB / 1.87 GB, free: 340.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.849e-05/3.095, allocations: 55.34 kB / 1.87 GB, free: 340.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000534/3.095, allocations: 258.9 kB / 1.871 GB, free: 339.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/3.095, allocations: 4 kB / 1.871 GB, free: 339.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/3.095, allocations: 0 / 1.871 GB, free: 339.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003253/3.096, allocations: 367 kB / 1.871 GB, free: 339.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/3.097, allocations: 0.9539 MB / 1.872 GB, free: 338.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/3.097, allocations: 3.938 kB / 1.872 GB, free: 338.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/3.097, allocations: 51.97 kB / 1.872 GB, free: 338.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/3.097, allocations: 4.281 kB / 1.872 GB, free: 338.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/3.097, allocations: 11.94 kB / 1.872 GB, free: 338.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/3.097, allocations: 7.984 kB / 1.872 GB, free: 338.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/3.097, allocations: 4 kB / 1.872 GB, free: 338.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005989/3.098, allocations: 0.5919 MB / 1.873 GB, free: 337.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/3.098, allocations: 176.3 kB / 1.873 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.765e-05/3.098, allocations: 7.938 kB / 1.873 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/3.099, allocations: 20.05 kB / 1.873 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/3.099, allocations: 19.97 kB / 1.873 GB, free: 337.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/3.099, allocations: 23.94 kB / 1.873 GB, free: 337.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003438/3.099, allocations: 330.9 kB / 1.873 GB, free: 337.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.1e-07/3.099, allocations: 3.938 kB / 1.873 GB, free: 337.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001284/3.1, allocations: 371 kB / 1.873 GB, free: 336.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001755/3.102, allocations: 2.04 MB / 1.875 GB, free: 334.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006024/3.103, allocations: 371.6 kB / 1.876 GB, free: 334.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/3.103, allocations: 6.25 kB / 1.876 GB, free: 334.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/3.103, allocations: 95.84 kB / 1.876 GB, free: 334.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/3.105, allocations: 324.2 kB / 1.876 GB, free: 333.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/3.107, allocations: 0.9808 MB / 1.877 GB, free: 332.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/3.107, allocations: 0.9105 MB / 1.878 GB, free: 331.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007106/3.108, allocations: 172 kB / 1.878 GB, free: 331.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/3.108, allocations: 203.4 kB / 1.878 GB, free: 331.5 MB / 1.151 GB Notification: Performance of SimCode: time 4.3e-07/3.108, allocations: 0 / 1.878 GB, free: 331.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04281/3.151, allocations: 16.98 MB / 1.895 GB, free: 314.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/3.151, allocations: 187.2 kB / 1.895 GB, free: 314.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/5.685, allocations: 1.547 kB / 1.895 GB, free: 314.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat does not exist to compare? outputFormat=mat