Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.256/2.256, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001283/0.001283, allocations: 184.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.001027/0.001028, allocations: 95.73 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.891e-05/3.95e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3215, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.279/1.601, allocations: 413.5 MB / 1.623 GB, free: 4.898 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003736/1.601, allocations: 103.9 kB / 1.623 GB, free: 4.797 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 1.244/2.845, allocations: 248.6 MB / 1.865 GB, free: 297.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.122e-06/2.845, allocations: 0 / 1.865 GB, free: 297.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.092e-05/2.845, allocations: 43.92 kB / 1.866 GB, free: 297.6 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.001766/2.847, allocations: 1.2 MB / 1.867 GB, free: 296.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/2.847, allocations: 12.03 kB / 1.867 GB, free: 296.4 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001214/2.847, allocations: 122.5 kB / 1.867 GB, free: 296.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003859/2.847, allocations: 138.5 kB / 1.867 GB, free: 296.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01424/2.862, allocations: 7.783 MB / 1.875 GB, free: 288.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.313e-05/2.862, allocations: 58 kB / 1.875 GB, free: 288.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/2.862, allocations: 79.94 kB / 1.875 GB, free: 288.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/2.863, allocations: 0.9656 MB / 1.876 GB, free: 287.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/2.863, allocations: 0 / 1.876 GB, free: 287.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.89e-05/2.863, allocations: 32 kB / 1.876 GB, free: 287 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/2.863, allocations: 20 kB / 1.876 GB, free: 287 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008923/2.864, allocations: 0.6831 MB / 1.876 GB, free: 286.3 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.004399/2.869, allocations: 4.542 MB / 1.881 GB, free: 281.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004733/2.869, allocations: 398 kB / 1.881 GB, free: 281.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/2.869, allocations: 253.4 kB / 1.881 GB, free: 280.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003147/2.87, allocations: 429.8 kB / 1.882 GB, free: 280.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/2.87, allocations: 38.89 kB / 1.882 GB, free: 280.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=40): time 1.934e-06/2.87, allocations: 0 / 1.882 GB, free: 280.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.0009316/2.871, allocations: 0.5458 MB / 1.882 GB, free: 279.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/2.871, allocations: 59.34 kB / 1.882 GB, free: 279.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008304/2.872, allocations: 0.8405 MB / 1.883 GB, free: 278.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/2.872, allocations: 37.7 kB / 1.883 GB, free: 278.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/2.872, allocations: 0.5067 MB / 1.884 GB, free: 278.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.237e-05/2.872, allocations: 142 kB / 1.884 GB, free: 278.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/2.872, allocations: 8 kB / 1.884 GB, free: 278.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.239e-05/2.872, allocations: 338 kB / 1.884 GB, free: 277.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/2.872, allocations: 213 kB / 1.884 GB, free: 277.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/2.873, allocations: 440.7 kB / 1.885 GB, free: 277 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/2.873, allocations: 313.3 kB / 1.885 GB, free: 276.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/2.873, allocations: 4 kB / 1.885 GB, free: 276.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009805/2.874, allocations: 0.7713 MB / 1.886 GB, free: 275.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005269/2.875, allocations: 2.19 MB / 1.888 GB, free: 273.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/2.875, allocations: 4 kB / 1.888 GB, free: 273.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002557/2.875, allocations: 68.75 kB / 1.888 GB, free: 273.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/2.875, allocations: 115.8 kB / 1.888 GB, free: 273.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003755/2.876, allocations: 0.6303 MB / 1.889 GB, free: 272.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008204/2.877, allocations: 103.4 kB / 1.889 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.536e-05/2.877, allocations: 35.98 kB / 1.889 GB, free: 272.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/2.877, allocations: 4 kB / 1.889 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008747/2.878, allocations: 0.6639 MB / 1.89 GB, free: 271.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/2.878, allocations: 8.156 kB / 1.89 GB, free: 271.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001372/2.878, allocations: 56.83 kB / 1.89 GB, free: 271.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/2.878, allocations: 115.8 kB / 1.89 GB, free: 271.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/2.88, allocations: 1.658 MB / 1.891 GB, free: 269.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006892/2.88, allocations: 95.53 kB / 1.892 GB, free: 269.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.642e-05/2.88, allocations: 35.98 kB / 1.892 GB, free: 269.8 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.0001518/2.881, allocations: 136.9 kB / 1.892 GB, free: 269.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/2.881, allocations: 86.97 kB / 1.892 GB, free: 269.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/2.882, allocations: 0.6401 MB / 1.892 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/2.882, allocations: 8 kB / 1.892 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/2.882, allocations: 0 / 1.892 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001037/2.883, allocations: 0.8166 MB / 1.893 GB, free: 268 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.003305/2.886, allocations: 1.672 MB / 1.895 GB, free: 266.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/2.886, allocations: 0 / 1.895 GB, free: 266.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005191/2.887, allocations: 83.89 kB / 1.895 GB, free: 266.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001609/2.887, allocations: 44.8 kB / 1.895 GB, free: 266.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/2.887, allocations: 19.94 kB / 1.895 GB, free: 266.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003379/2.888, allocations: 0.5679 MB / 1.896 GB, free: 265.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/2.888, allocations: 4.125 kB / 1.896 GB, free: 265.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/2.889, allocations: 0.9906 MB / 1.897 GB, free: 264.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005898/2.89, allocations: 259.9 kB / 1.897 GB, free: 264.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/2.89, allocations: 12 kB / 1.897 GB, free: 264.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009299/2.891, allocations: 71.7 kB / 1.897 GB, free: 264.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/2.891, allocations: 31.97 kB / 1.897 GB, free: 264.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.299e-05/2.891, allocations: 19.98 kB / 1.897 GB, free: 264 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00111/2.892, allocations: 0.6591 MB / 1.898 GB, free: 263.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.4e-07/2.892, allocations: 0 / 1.898 GB, free: 263.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002851/2.895, allocations: 0.5964 MB / 1.898 GB, free: 262.8 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.003042/2.898, allocations: 2.084 MB / 1.9 GB, free: 260.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002353/2.9, allocations: 1.007 MB / 1.901 GB, free: 259.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/2.9, allocations: 0 / 1.901 GB, free: 259.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004976/2.901, allocations: 236.2 kB / 1.901 GB, free: 259.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003911/2.905, allocations: 0.5608 MB / 1.902 GB, free: 258.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/2.91, allocations: 1.981 MB / 1.904 GB, free: 256.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000824/2.911, allocations: 1.253 MB / 1.905 GB, free: 255.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002637/2.913, allocations: 0.686 MB / 1.906 GB, free: 254.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005689/2.914, allocations: 347.3 kB / 1.906 GB, free: 254.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.112e-06/2.914, allocations: 0 / 1.906 GB, free: 254.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06154/2.976, allocations: 31.94 MB / 1.937 GB, free: 223 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/2.976, allocations: 265.3 kB / 1.938 GB, free: 222.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.953/5.929, allocations: 7.453 kB / 1.938 GB, free: 222.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat does not exist to compare? outputFormat=mat