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.001482/0.001481, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8515/0.8515, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.623/1.623, allocations: 221.5 MB / 395.5 MB, free: 10.8 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.001213/0.001212, allocations: 99.92 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.325e-05/3.356e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5791/0.5791, allocations: 82.31 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.178/5.757, allocations: 1.894 GB / 2.528 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/5.758, allocations: 86.45 kB / 2.528 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.452/11.21, allocations: 1.34 GB / 3.868 GB, free: 80.79 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.974e-06/11.21, allocations: 0 / 3.868 GB, free: 80.79 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003481/11.21, allocations: 58.59 kB / 3.868 GB, free: 80.78 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.009375/11.22, allocations: 2.189 MB / 3.87 GB, free: 79.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.969e-05/11.22, allocations: 7.875 kB / 3.87 GB, free: 79.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004522/11.22, allocations: 0.4965 MB / 3.871 GB, free: 79.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005646/11.23, allocations: 1.421 MB / 3.872 GB, free: 79.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002366/11.23, allocations: 129.6 kB / 3.872 GB, free: 79 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006665/11.23, allocations: 89.09 kB / 3.873 GB, free: 79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003322/11.23, allocations: 1.16 MB / 3.874 GB, free: 79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002963/11.24, allocations: 1.435 MB / 3.875 GB, free: 78.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.44e-05/11.24, allocations: 7.812 kB / 3.875 GB, free: 78.76 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/11.24, allocations: 3.906 kB / 3.875 GB, free: 78.76 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-05/11.24, allocations: 51.36 kB / 3.875 GB, free: 78.76 MB / 0.7136 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.01027/11.25, allocations: 7.95 MB / 3.883 GB, free: 73.54 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/11.25, allocations: 0.811 MB / 3.884 GB, free: 73.16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005686/11.25, allocations: 486 kB / 3.884 GB, free: 72.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000542/11.25, allocations: 318.6 kB / 3.884 GB, free: 72.69 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/11.25, allocations: 50.97 kB / 3.884 GB, free: 72.64 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=96): time 3.366e-06/11.25, allocations: 0 / 3.884 GB, free: 72.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=102): time 0.006234/11.26, allocations: 2.555 MB / 3.887 GB, free: 71.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/11.26, allocations: 62.78 kB / 3.887 GB, free: 71.37 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/11.26, allocations: 0.8898 MB / 3.888 GB, free: 71 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.256e-05/11.26, allocations: 29.2 kB / 3.888 GB, free: 70.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005568/11.26, allocations: 0.8265 MB / 3.889 GB, free: 70.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002734/11.26, allocations: 356.8 kB / 3.889 GB, free: 70.05 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/11.26, allocations: 0 / 3.889 GB, free: 70.05 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001122/11.26, allocations: 356.1 kB / 3.889 GB, free: 69.72 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/11.26, allocations: 373.2 kB / 3.89 GB, free: 69.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008296/11.26, allocations: 0.7639 MB / 3.891 GB, free: 68.94 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008357/11.26, allocations: 0.5465 MB / 3.891 GB, free: 68.74 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/11.26, allocations: 3.906 kB / 3.891 GB, free: 68.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001974/11.26, allocations: 1.256 MB / 3.892 GB, free: 68.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001003/11.26, allocations: 3.644 MB / 3.896 GB, free: 64.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/11.26, allocations: 8 kB / 3.896 GB, free: 64.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.808e-05/11.26, allocations: 16 kB / 3.896 GB, free: 64.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/11.27, allocations: 286.1 kB / 3.896 GB, free: 64.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/11.27, allocations: 23.03 kB / 3.896 GB, free: 64.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/11.27, allocations: 143.5 kB / 3.896 GB, free: 64.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/11.27, allocations: 59.02 kB / 3.896 GB, free: 63.99 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/11.27, allocations: 12.98 kB / 3.896 GB, free: 63.98 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00167/11.27, allocations: 1.058 MB / 3.897 GB, free: 63.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/11.27, allocations: 12 kB / 3.897 GB, free: 63.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/11.27, allocations: 16 kB / 3.897 GB, free: 63.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/11.27, allocations: 280.5 kB / 3.898 GB, free: 62.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/11.27, allocations: 19.94 kB / 3.898 GB, free: 62.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/11.27, allocations: 144.4 kB / 3.898 GB, free: 62.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.103e-05/11.27, allocations: 61.88 kB / 3.898 GB, free: 62.62 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 () * 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.0002983/11.27, allocations: 136.7 kB / 3.898 GB, free: 62.48 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001486/11.27, allocations: 0.9692 MB / 3.899 GB, free: 61.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/11.27, allocations: 150.2 kB / 3.899 GB, free: 61.45 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/11.28, allocations: 1.054 MB / 3.9 GB, free: 60.55 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/11.28, allocations: 12 kB / 3.9 GB, free: 60.54 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/11.28, allocations: 0 / 3.9 GB, free: 60.54 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001164/11.28, allocations: 1.006 MB / 3.901 GB, free: 59.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004356/11.28, allocations: 2.511 MB / 3.904 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/11.28, allocations: 0 / 3.904 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/11.28, allocations: 259.7 kB / 3.904 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/11.28, allocations: 4 kB / 3.904 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.189e-05/11.28, allocations: 15.98 kB / 3.904 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.557e-06/11.28, allocations: 11.61 kB / 3.904 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/11.28, allocations: 11.89 kB / 3.904 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/11.29, allocations: 1.774 MB / 3.906 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007753/11.29, allocations: 322.2 kB / 3.906 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/11.29, allocations: 11.95 kB / 3.906 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/11.29, allocations: 130.9 kB / 3.906 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/11.29, allocations: 71.5 kB / 3.906 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.998e-05/11.29, allocations: 35.98 kB / 3.906 GB, free: 54.72 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009835/11.29, allocations: 0.6605 MB / 3.907 GB, free: 54.06 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.41e-07/11.29, allocations: 0 / 3.907 GB, free: 54.06 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003492/11.29, allocations: 0.9139 MB / 3.908 GB, free: 53.15 MB / 0.7136 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 () * 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.008114/11.3, allocations: 6.022 MB / 3.914 GB, free: 47.22 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00264/11.3, allocations: 1.57 MB / 3.915 GB, free: 45.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/11.3, allocations: 0 / 3.915 GB, free: 45.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005596/11.3, allocations: 462.6 kB / 3.916 GB, free: 45.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004927/11.31, allocations: 0.8547 MB / 3.916 GB, free: 44.37 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006328/11.32, allocations: 3.113 MB / 3.919 GB, free: 41.21 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008815/11.32, allocations: 1.479 MB / 3.921 GB, free: 39.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002696/11.32, allocations: 0.6343 MB / 3.921 GB, free: 39.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007568/11.32, allocations: 0.6633 MB / 3.922 GB, free: 38.42 MB / 0.7136 GB Notification: Performance of SimCode: time 1.663e-06/11.32, allocations: 0 / 3.922 GB, free: 38.42 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.76/12.08, allocations: 63.26 MB / 3.984 GB, free: 99.31 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002733/12.08, allocations: 164.1 kB / 3.984 GB, free: 99.12 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.344/17.42, allocations: 1.688 kB / 3.984 GB, free: 99.12 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)