Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00951/0.00951, allocations: 170.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.766/0.766, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.2 MB / 406.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008754/0.0008755, allocations: 104.4 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004465/0.0004465, allocations: 11.98 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4167, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.134/4.55, allocations: 1.895 GB / 2.544 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/4.551, allocations: 95.95 kB / 2.545 GB, free: 80.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.33/9.881, allocations: 1.356 GB / 3.901 GB, free: 35.49 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.044e-06/9.881, allocations: 0 / 3.901 GB, free: 35.49 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001575/9.881, allocations: 59.98 kB / 3.901 GB, free: 35.43 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.006943/9.888, allocations: 2.48 MB / 3.903 GB, free: 32.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/9.888, allocations: 12.03 kB / 3.903 GB, free: 32.88 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005522/9.889, allocations: 215.1 kB / 3.903 GB, free: 32.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003412/9.892, allocations: 0.5052 MB / 3.904 GB, free: 32.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004022/9.896, allocations: 1.438 MB / 3.905 GB, free: 30.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/9.897, allocations: 174.5 kB / 3.905 GB, free: 30.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/9.897, allocations: 159.9 kB / 3.906 GB, free: 30.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/9.9, allocations: 1.692 MB / 3.907 GB, free: 28.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/9.9, allocations: 4 kB / 3.907 GB, free: 28.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/9.9, allocations: 56 kB / 3.907 GB, free: 28.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.823e-05/9.9, allocations: 62.64 kB / 3.907 GB, free: 28.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/9.902, allocations: 1.342 MB / 3.909 GB, free: 27.09 MB / 0.7136 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.009775/9.912, allocations: 8.223 MB / 3.917 GB, free: 18.17 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/9.913, allocations: 0.8885 MB / 3.918 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006136/9.914, allocations: 320.5 kB / 3.918 GB, free: 16.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/9.914, allocations: 43.56 kB / 3.918 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=96): time 4.588e-06/9.914, allocations: 0 / 3.918 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=102): time 0.007938/9.922, allocations: 3.125 MB / 3.921 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/9.922, allocations: 68.36 kB / 3.921 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/9.924, allocations: 1.086 MB / 3.922 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001605/9.924, allocations: 53.64 kB / 3.922 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006077/9.925, allocations: 0.8094 MB / 3.923 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/9.925, allocations: 362.7 kB / 3.923 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.385e-05/9.925, allocations: 24 kB / 3.923 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001134/9.925, allocations: 349.9 kB / 3.924 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000755/9.926, allocations: 434.4 kB / 3.924 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009639/9.927, allocations: 0.829 MB / 3.925 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009367/9.928, allocations: 0.5603 MB / 3.925 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/9.928, allocations: 3.938 kB / 3.925 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002442/9.931, allocations: 1.389 MB / 3.927 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009331/9.932, allocations: 3.666 MB / 3.93 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/9.932, allocations: 15.95 kB / 3.93 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.462e-05/9.932, allocations: 16 kB / 3.93 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/9.933, allocations: 279.5 kB / 3.931 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.183e-05/9.933, allocations: 19.94 kB / 3.931 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/9.935, allocations: 179.5 kB / 3.931 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/9.935, allocations: 48 kB / 3.931 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/9.935, allocations: 4.625 kB / 3.931 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001982/9.937, allocations: 1.225 MB / 3.932 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/9.937, allocations: 19.97 kB / 3.932 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/9.937, allocations: 16 kB / 3.932 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/9.938, allocations: 276.2 kB / 3.932 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.732e-05/9.938, allocations: 23.92 kB / 3.932 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/9.94, allocations: 171.5 kB / 3.933 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/9.941, allocations: 55.98 kB / 3.933 GB, free: 1.16 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.001158/9.942, allocations: 0.5122 MB / 3.933 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004226/9.942, allocations: 162 kB / 3.933 GB, free: 488 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/9.945, allocations: 1.158 MB / 3.934 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/9.945, allocations: 12 kB / 3.934 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/9.945, allocations: 0 / 3.934 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001755/9.947, allocations: 1.079 MB / 3.935 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006547/9.953, allocations: 2.781 MB / 3.938 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/9.953, allocations: 4.219 kB / 3.938 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/9.954, allocations: 259.6 kB / 3.938 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.152e-05/9.955, allocations: 4 kB / 3.938 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/9.955, allocations: 31.98 kB / 3.938 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/9.955, allocations: 4 kB / 3.938 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/9.955, allocations: 7.938 kB / 3.938 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003398/9.958, allocations: 1.92 MB / 3.94 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/9.959, allocations: 335 kB / 3.941 GB, free: 8.641 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004493/9.96, allocations: 27.98 kB / 3.941 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/9.962, allocations: 147.6 kB / 3.941 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/9.962, allocations: 60.92 kB / 3.941 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/9.962, allocations: 43.97 kB / 3.941 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002009/9.964, allocations: 0.827 MB / 3.942 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.61e-07/9.964, allocations: 0 / 3.942 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00514/9.969, allocations: 1.066 MB / 3.943 GB, free: 6.477 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * 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 (102): * Single equations (assignments): 102 * 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 Backend phase and start with SimCode phase: time 0.009398/9.979, allocations: 5.839 MB / 3.949 GB, free: 260 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.5942/10.57, allocations: 1.719 MB / 3.95 GB, free: 82.51 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/10.57, allocations: 5.25 kB / 3.95 GB, free: 82.51 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001331/10.57, allocations: 0.5157 MB / 3.951 GB, free: 82.51 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005678/10.58, allocations: 0.9491 MB / 3.952 GB, free: 82.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01915/10.6, allocations: 16.3 MB / 3.968 GB, free: 72.72 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/10.6, allocations: 1.482 MB / 3.969 GB, free: 71.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002856/10.6, allocations: 0.5554 MB / 3.97 GB, free: 71.96 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/10.6, allocations: 0.6875 MB / 3.97 GB, free: 71.96 MB / 0.7292 GB Notification: Performance of SimCode: time 1.001e-06/10.6, allocations: 3.219 kB / 3.97 GB, free: 71.96 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1493/10.75, allocations: 86.05 MB / 4.054 GB, free: 69.54 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/10.75, allocations: 210.1 kB / 4.054 GB, free: 69.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.042/15.8, allocations: 4 kB / 4.054 GB, free: 69.3 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)