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.001722/0.001723, allocations: 176.2 kB / 7.648 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.8062/0.8062, allocations: 133.6 MB / 141.6 MB, free: 2.922 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.622/1.622, allocations: 221.5 MB / 395.4 MB, free: 10.81 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.001161/0.001161, allocations: 105.9 kB / 478.2 MB, free: 1.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.063e-05/2.067e-05, allocations: 4 kB / 0.5535 GB, free: 8.996 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6417/0.6417, allocations: 82.3 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.07/5.711, allocations: 1.894 GB / 2.528 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/5.712, allocations: 87.95 kB / 2.528 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.095/10.81, allocations: 1.34 GB / 3.868 GB, free: 76.12 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.084e-06/10.81, allocations: 7.75 kB / 3.868 GB, free: 76.12 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001627/10.81, allocations: 53 kB / 3.868 GB, free: 76.11 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.006835/10.81, allocations: 2.176 MB / 3.87 GB, free: 75.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/10.81, allocations: 12.81 kB / 3.87 GB, free: 75.08 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003753/10.82, allocations: 0.5005 MB / 3.871 GB, free: 74.97 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003618/10.82, allocations: 1.422 MB / 3.872 GB, free: 74.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/10.82, allocations: 127 kB / 3.872 GB, free: 74.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002257/10.82, allocations: 89.66 kB / 3.872 GB, free: 74.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00239/10.82, allocations: 1.169 MB / 3.874 GB, free: 74.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002545/10.83, allocations: 1.43 MB / 3.875 GB, free: 74.21 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.234e-05/10.83, allocations: 3.938 kB / 3.875 GB, free: 74.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/10.83, allocations: 3.031 kB / 3.875 GB, free: 74.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-05/10.83, allocations: 57.53 kB / 3.875 GB, free: 74.2 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.009984/10.84, allocations: 7.944 MB / 3.883 GB, free: 69.32 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/10.84, allocations: 0.8113 MB / 3.884 GB, free: 69.28 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005755/10.84, allocations: 476.5 kB / 3.884 GB, free: 69.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005097/10.84, allocations: 317.1 kB / 3.884 GB, free: 68.99 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/10.84, allocations: 49.39 kB / 3.884 GB, free: 68.95 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=96): time 5.14e-06/10.84, allocations: 0 / 3.884 GB, free: 68.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=102): time 0.006057/10.85, allocations: 2.573 MB / 3.887 GB, free: 68.28 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/10.85, allocations: 62.34 kB / 3.887 GB, free: 68.22 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/10.85, allocations: 0.8932 MB / 3.888 GB, free: 68.06 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.209e-05/10.85, allocations: 29.58 kB / 3.888 GB, free: 68.03 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005502/10.85, allocations: 0.8281 MB / 3.889 GB, free: 67.69 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000252/10.85, allocations: 348 kB / 3.889 GB, free: 67.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/10.85, allocations: 0 / 3.889 GB, free: 67.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.832e-05/10.85, allocations: 353.7 kB / 3.889 GB, free: 67.15 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000499/10.85, allocations: 375.1 kB / 3.89 GB, free: 67.15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007114/10.85, allocations: 0.759 MB / 3.89 GB, free: 66.69 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008205/10.85, allocations: 0.5554 MB / 3.891 GB, free: 66.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/10.85, allocations: 0 / 3.891 GB, free: 66.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001898/10.85, allocations: 1.26 MB / 3.892 GB, free: 66.47 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008875/10.85, allocations: 3.645 MB / 3.896 GB, free: 62.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/10.85, allocations: 7.562 kB / 3.896 GB, free: 62.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.238e-05/10.85, allocations: 17.84 kB / 3.896 GB, free: 62.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/10.85, allocations: 281.4 kB / 3.896 GB, free: 62.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/10.85, allocations: 20.44 kB / 3.896 GB, free: 62.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/10.86, allocations: 149.3 kB / 3.896 GB, free: 62.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/10.86, allocations: 58.45 kB / 3.896 GB, free: 62.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/10.86, allocations: 4.547 kB / 3.896 GB, free: 62.71 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001608/10.86, allocations: 1.06 MB / 3.897 GB, free: 62.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/10.86, allocations: 11.36 kB / 3.897 GB, free: 62.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/10.86, allocations: 20.72 kB / 3.897 GB, free: 62.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/10.86, allocations: 281.5 kB / 3.898 GB, free: 62.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/10.86, allocations: 23.78 kB / 3.898 GB, free: 62.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/10.86, allocations: 141 kB / 3.898 GB, free: 62.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-05/10.86, allocations: 57.95 kB / 3.898 GB, free: 62.58 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.000305/10.86, allocations: 140.6 kB / 3.898 GB, free: 62.45 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001501/10.86, allocations: 0.9709 MB / 3.899 GB, free: 62.31 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/10.86, allocations: 156.6 kB / 3.899 GB, free: 62.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/10.86, allocations: 1.056 MB / 3.9 GB, free: 62.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/10.86, allocations: 10.47 kB / 3.9 GB, free: 62.14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/10.86, allocations: 0 / 3.9 GB, free: 62.14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001191/10.87, allocations: 1.006 MB / 3.901 GB, free: 61.85 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00431/10.87, allocations: 2.511 MB / 3.904 GB, free: 61.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/10.87, allocations: 3.031 kB / 3.904 GB, free: 61.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/10.87, allocations: 253.2 kB / 3.904 GB, free: 61.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/10.87, allocations: 6.531 kB / 3.904 GB, free: 61.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-05/10.87, allocations: 13.22 kB / 3.904 GB, free: 61.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.266e-05/10.87, allocations: 12.59 kB / 3.904 GB, free: 61.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/10.87, allocations: 3.812 kB / 3.904 GB, free: 61.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/10.87, allocations: 1.77 MB / 3.906 GB, free: 60.08 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008154/10.87, allocations: 328.8 kB / 3.906 GB, free: 59.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/10.87, allocations: 3.562 kB / 3.906 GB, free: 59.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/10.88, allocations: 142.8 kB / 3.906 GB, free: 59.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/10.88, allocations: 60.8 kB / 3.906 GB, free: 59.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.401e-05/10.88, allocations: 45.02 kB / 3.906 GB, free: 59.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009349/10.88, allocations: 0.6632 MB / 3.907 GB, free: 59.53 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/10.88, allocations: 0 / 3.907 GB, free: 59.53 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002892/10.88, allocations: 0.9126 MB / 3.908 GB, free: 59.37 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.00718/10.89, allocations: 6.016 MB / 3.914 GB, free: 56.19 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002669/10.89, allocations: 1.565 MB / 3.915 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/10.89, allocations: 0 / 3.915 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006165/10.89, allocations: 473.7 kB / 3.916 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004957/10.9, allocations: 0.8579 MB / 3.916 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007463/10.9, allocations: 3.107 MB / 3.919 GB, free: 53.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/10.9, allocations: 1.476 MB / 3.921 GB, free: 53.09 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003133/10.91, allocations: 0.6396 MB / 3.921 GB, free: 52.66 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008487/10.91, allocations: 0.6633 MB / 3.922 GB, free: 52.05 MB / 0.7136 GB Notification: Performance of SimCode: time 1.322e-06/10.91, allocations: 0 / 3.922 GB, free: 52.05 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1084/11.02, allocations: 63.26 MB / 3.984 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/11.02, allocations: 156.7 kB / 3.984 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.132/16.15, allocations: 0 / 3.984 GB, free: 10.23 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)