Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_dev_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.01104/0.01104, allocations: 170 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.162/1.162, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.537/2.537, allocations: 223.2 MB / 406.8 MB, free: 3.246 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.001452/0.001452, allocations: 101.9 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005573/0.0005573, allocations: 8 kB / 0.5691 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6878/0.6884, allocations: 82.31 MB / 0.6495 GB, free: 36.07 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.033/9.722, allocations: 1.895 GB / 2.544 GB, free: 41.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004356/9.722, allocations: 91.33 kB / 2.545 GB, free: 41.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 10.06/19.78, allocations: 1.356 GB / 3.901 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.629e-06/19.78, allocations: 0 / 3.901 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004068/19.79, allocations: 55.92 kB / 3.901 GB, free: 8.664 MB / 0.7292 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.01584/19.8, allocations: 2.484 MB / 3.903 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 9.248e-05/19.8, allocations: 16.03 kB / 3.903 GB, free: 6.109 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001808/19.8, allocations: 219.1 kB / 3.903 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006636/19.81, allocations: 0.5083 MB / 3.904 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00768/19.82, allocations: 1.422 MB / 3.905 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003965/19.82, allocations: 178.5 kB / 3.905 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006851/19.82, allocations: 152 kB / 3.906 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005883/19.82, allocations: 1.689 MB / 3.907 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.792e-05/19.82, allocations: 11.92 kB / 3.907 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003084/19.82, allocations: 60.34 kB / 3.907 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/19.82, allocations: 58.66 kB / 3.907 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004772/19.83, allocations: 1.342 MB / 3.909 GB, free: 332 kB / 0.7292 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.9378/20.77, allocations: 8.213 MB / 3.917 GB, free: 72.61 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003288/20.77, allocations: 0.8956 MB / 3.918 GB, free: 72.58 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009435/20.77, allocations: 318.6 kB / 3.918 GB, free: 72.3 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.908e-05/20.77, allocations: 44.73 kB / 3.918 GB, free: 72.26 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=96): time 8.116e-06/20.77, allocations: 0 / 3.918 GB, free: 72.26 MB / 0.7292 GB Notification: Performance of matching and sorting (n=102): time 0.01553/20.79, allocations: 3.125 MB / 3.921 GB, free: 71.64 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/20.79, allocations: 66.03 kB / 3.921 GB, free: 71.58 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004216/20.79, allocations: 1.077 MB / 3.922 GB, free: 71.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006316/20.79, allocations: 51.83 kB / 3.922 GB, free: 71.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001316/20.79, allocations: 0.8121 MB / 3.923 GB, free: 71.15 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001085/20.8, allocations: 365.2 kB / 3.923 GB, free: 70.97 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-05/20.8, allocations: 28.41 kB / 3.923 GB, free: 70.97 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002769/20.8, allocations: 356 kB / 3.924 GB, free: 70.66 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/20.8, allocations: 431.7 kB / 3.924 GB, free: 70.66 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/20.8, allocations: 0.8303 MB / 3.925 GB, free: 70.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/20.8, allocations: 0.5531 MB / 3.925 GB, free: 70.19 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/20.8, allocations: 3.844 kB / 3.925 GB, free: 70.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004555/20.81, allocations: 1.397 MB / 3.927 GB, free: 70.06 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001221/20.81, allocations: 3.663 MB / 3.93 GB, free: 66.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.576e-05/20.81, allocations: 9.625 kB / 3.93 GB, free: 66.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.423e-05/20.81, allocations: 17.25 kB / 3.93 GB, free: 66.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/20.81, allocations: 286.9 kB / 3.931 GB, free: 66.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.778e-05/20.81, allocations: 26.67 kB / 3.931 GB, free: 66.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003825/20.81, allocations: 169.3 kB / 3.931 GB, free: 66.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00033/20.81, allocations: 59.61 kB / 3.931 GB, free: 66.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/20.81, allocations: 3.688 kB / 3.931 GB, free: 66.16 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003667/20.82, allocations: 1.217 MB / 3.932 GB, free: 66.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/20.82, allocations: 7.5 kB / 3.932 GB, free: 66.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.285e-05/20.82, allocations: 21.45 kB / 3.932 GB, free: 66.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/20.82, allocations: 286.2 kB / 3.932 GB, free: 66.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-05/20.82, allocations: 20.73 kB / 3.932 GB, free: 66.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003775/20.82, allocations: 169.6 kB / 3.933 GB, free: 66.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002511/20.82, allocations: 55.8 kB / 3.933 GB, free: 66.14 MB / 0.7292 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.002263/20.83, allocations: 0.512 MB / 3.933 GB, free: 65.94 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/20.83, allocations: 162.3 kB / 3.933 GB, free: 65.86 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00409/20.83, allocations: 1.156 MB / 3.934 GB, free: 65.78 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/20.83, allocations: 13.75 kB / 3.934 GB, free: 65.78 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/20.83, allocations: 0 / 3.934 GB, free: 65.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00278/20.83, allocations: 1.083 MB / 3.935 GB, free: 65.51 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009726/20.84, allocations: 2.782 MB / 3.938 GB, free: 65.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/20.84, allocations: 1.156 kB / 3.938 GB, free: 65.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/20.85, allocations: 261.6 kB / 3.938 GB, free: 65.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.469e-05/20.85, allocations: 3.969 kB / 3.938 GB, free: 65.11 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001323/20.85, allocations: 24.5 kB / 3.938 GB, free: 65.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.367e-05/20.85, allocations: 13.34 kB / 3.938 GB, free: 65.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/20.85, allocations: 6.844 kB / 3.938 GB, free: 65.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007693/20.85, allocations: 1.912 MB / 3.94 GB, free: 64.65 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002611/20.86, allocations: 338.3 kB / 3.941 GB, free: 64.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007854/20.86, allocations: 26.73 kB / 3.941 GB, free: 64.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003466/20.86, allocations: 147 kB / 3.941 GB, free: 64.46 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002659/20.86, allocations: 63.03 kB / 3.941 GB, free: 64.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/20.86, allocations: 39.16 kB / 3.941 GB, free: 64.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00251/20.86, allocations: 0.8281 MB / 3.942 GB, free: 64.36 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.01e-07/20.86, allocations: 2.031 kB / 3.942 GB, free: 64.36 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.009043/20.87, allocations: 1.072 MB / 3.943 GB, free: 64.36 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.01408/20.89, allocations: 5.837 MB / 3.948 GB, free: 61.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005822/20.89, allocations: 1.726 MB / 3.95 GB, free: 61.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/20.89, allocations: 0 / 3.95 GB, free: 61.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001488/20.89, allocations: 0.5162 MB / 3.951 GB, free: 61.77 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008746/20.9, allocations: 0.9579 MB / 3.952 GB, free: 61.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03571/20.94, allocations: 16.3 MB / 3.968 GB, free: 51.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002139/20.94, allocations: 1.481 MB / 3.969 GB, free: 51.17 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00469/20.95, allocations: 0.5521 MB / 3.97 GB, free: 51.15 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002161/20.95, allocations: 0.6877 MB / 3.97 GB, free: 51.14 MB / 0.7292 GB Notification: Performance of SimCode: time 2.505e-06/20.95, allocations: 0 / 3.97 GB, free: 51.14 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2431/21.19, allocations: 86.06 MB / 4.054 GB, free: 48.38 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003633/21.19, allocations: 216.8 kB / 4.054 GB, free: 48.13 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/29.42, allocations: 0 / 4.054 GB, free: 48.13 MB / 0.7292 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)