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.001417/0.001417, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7616/0.7616, allocations: 133.4 MB / 146.7 MB, free: 10.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.613/1.613, allocations: 221.3 MB / 400.4 MB, free: 5.816 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009591/0.000959, allocations: 98.77 kB / 483.3 MB, free: 5.832 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.275e-05/4.289e-05, allocations: 7.078 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1891, allocations: 82.3 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.559/5.748, allocations: 1.895 GB / 2.535 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/5.749, allocations: 86.45 kB / 2.535 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.915/11.66, allocations: 1.355 GB / 3.89 GB, free: 83.64 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.1e-06/11.66, allocations: 0.875 kB / 3.89 GB, free: 83.64 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0007663/11.66, allocations: 61 kB / 3.89 GB, free: 83.64 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.01407/11.68, allocations: 2.182 MB / 3.893 GB, free: 83.13 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/11.68, allocations: 7.625 kB / 3.893 GB, free: 83.13 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007901/11.68, allocations: 222.3 kB / 3.893 GB, free: 83.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006132/11.69, allocations: 0.4996 MB / 3.893 GB, free: 82.97 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006675/11.69, allocations: 1.418 MB / 3.895 GB, free: 82.64 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003115/11.69, allocations: 178.5 kB / 3.895 GB, free: 82.58 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005863/11.69, allocations: 156.1 kB / 3.895 GB, free: 82.57 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004912/11.7, allocations: 1.635 MB / 3.897 GB, free: 82.34 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.215e-05/11.7, allocations: 2.688 kB / 3.897 GB, free: 82.34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002374/11.7, allocations: 62.36 kB / 3.897 GB, free: 82.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/11.7, allocations: 61.47 kB / 3.897 GB, free: 82.34 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004331/11.7, allocations: 1.259 MB / 3.898 GB, free: 82.32 MB / 0.7292 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.01744/11.72, allocations: 8.224 MB / 3.906 GB, free: 77.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/11.72, allocations: 0.8318 MB / 3.907 GB, free: 77.48 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/11.72, allocations: 0.4884 MB / 3.907 GB, free: 77.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007878/11.73, allocations: 317.4 kB / 3.908 GB, free: 77.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/11.73, allocations: 48.73 kB / 3.908 GB, free: 77.16 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=96): time 5.42e-06/11.73, allocations: 0 / 3.908 GB, free: 77.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=102): time 0.008061/11.73, allocations: 2.622 MB / 3.91 GB, free: 76.56 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/11.73, allocations: 68.41 kB / 3.91 GB, free: 76.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/11.73, allocations: 1.06 MB / 3.911 GB, free: 76.34 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/11.74, allocations: 51.95 kB / 3.911 GB, free: 76.31 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004851/11.74, allocations: 0.8049 MB / 3.912 GB, free: 76.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002665/11.74, allocations: 370.1 kB / 3.912 GB, free: 75.88 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/11.74, allocations: 24.72 kB / 3.912 GB, free: 75.88 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.504e-05/11.74, allocations: 357.2 kB / 3.913 GB, free: 75.58 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005367/11.74, allocations: 391.2 kB / 3.913 GB, free: 75.57 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007739/11.74, allocations: 0.7927 MB / 3.914 GB, free: 75.12 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007275/11.74, allocations: 0.5216 MB / 3.914 GB, free: 75.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/11.74, allocations: 2.156 kB / 3.914 GB, free: 75.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002/11.74, allocations: 1.311 MB / 3.916 GB, free: 74.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008403/11.74, allocations: 3.667 MB / 3.919 GB, free: 71.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/11.74, allocations: 7.469 kB / 3.919 GB, free: 71.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.752e-05/11.74, allocations: 16.5 kB / 3.919 GB, free: 71.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/11.74, allocations: 283 kB / 3.92 GB, free: 71.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.546e-05/11.74, allocations: 22.61 kB / 3.92 GB, free: 71.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/11.74, allocations: 169.8 kB / 3.92 GB, free: 71.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/11.74, allocations: 59.16 kB / 3.92 GB, free: 71.08 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/11.74, allocations: 3.875 kB / 3.92 GB, free: 71.08 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001549/11.75, allocations: 1.141 MB / 3.921 GB, free: 71.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/11.75, allocations: 6.312 kB / 3.921 GB, free: 71.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/11.75, allocations: 19.84 kB / 3.921 GB, free: 71.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/11.75, allocations: 280 kB / 3.921 GB, free: 71.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/11.75, allocations: 20.66 kB / 3.921 GB, free: 71.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/11.75, allocations: 173.5 kB / 3.921 GB, free: 71.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.545e-05/11.75, allocations: 49.97 kB / 3.922 GB, free: 71.05 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 () * 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.0002864/11.75, allocations: 195 kB / 3.922 GB, free: 70.94 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/11.75, allocations: 164.3 kB / 3.922 GB, free: 70.86 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/11.75, allocations: 1.087 MB / 3.923 GB, free: 70.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/11.75, allocations: 10.16 kB / 3.923 GB, free: 70.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/11.75, allocations: 1.969 kB / 3.923 GB, free: 70.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001144/11.75, allocations: 1.009 MB / 3.924 GB, free: 70.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00443/11.76, allocations: 2.711 MB / 3.927 GB, free: 70.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/11.76, allocations: 3.938 kB / 3.927 GB, free: 70.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/11.76, allocations: 254.7 kB / 3.927 GB, free: 70.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/11.76, allocations: 3.938 kB / 3.927 GB, free: 70.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.881e-05/11.76, allocations: 28.3 kB / 3.927 GB, free: 70.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.08e-05/11.76, allocations: 6.906 kB / 3.927 GB, free: 70.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/11.76, allocations: 7.078 kB / 3.927 GB, free: 70.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/11.76, allocations: 1.815 MB / 3.929 GB, free: 69.64 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008155/11.76, allocations: 339.6 kB / 3.929 GB, free: 69.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/11.76, allocations: 22.09 kB / 3.929 GB, free: 69.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/11.76, allocations: 142.7 kB / 3.929 GB, free: 69.46 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/11.76, allocations: 57.06 kB / 3.929 GB, free: 69.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-05/11.76, allocations: 45.2 kB / 3.929 GB, free: 69.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001082/11.76, allocations: 0.8213 MB / 3.93 GB, free: 69.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/11.76, allocations: 0 / 3.93 GB, free: 69.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00347/11.77, allocations: 1.067 MB / 3.931 GB, free: 69.33 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 () * 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.007433/11.78, allocations: 5.728 MB / 3.937 GB, free: 66.76 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002826/11.78, allocations: 1.66 MB / 3.938 GB, free: 66.73 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/11.78, allocations: 0 / 3.938 GB, free: 66.73 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000671/11.78, allocations: 496.4 kB / 3.939 GB, free: 66.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00522/11.78, allocations: 0.9492 MB / 3.94 GB, free: 66.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00653/11.79, allocations: 3.223 MB / 3.943 GB, free: 65.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008979/11.79, allocations: 1.482 MB / 3.944 GB, free: 65.17 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002733/11.79, allocations: 0.6825 MB / 3.945 GB, free: 65.15 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007926/11.79, allocations: 0.6676 MB / 3.946 GB, free: 65.14 MB / 0.7292 GB Notification: Performance of SimCode: time 1.042e-06/11.79, allocations: 0 / 3.946 GB, free: 65.14 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1655/11.96, allocations: 95.43 MB / 4.039 GB, free: 61.69 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/11.96, allocations: 184.7 kB / 4.039 GB, free: 61.47 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.381/18.34, allocations: 4 kB / 4.039 GB, free: 61.46 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)