Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.MoistureMixingConservationDynamicBalance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",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.001106/0.001106, 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.8412/0.8412, allocations: 133.6 MB / 141.6 MB, free: 2.863 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.653/1.653, allocations: 221.5 MB / 395.4 MB, free: 10.75 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.001014/0.001014, allocations: 100.4 kB / 478.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.587e-05/2.601e-05, allocations: 4 kB / 0.5536 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.525/0.5251, allocations: 82.29 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.181/5.706, allocations: 1.893 GB / 2.527 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/5.707, allocations: 86.95 kB / 2.527 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.733/9.439, allocations: 1.087 GB / 3.613 GB, free: 77.61 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.863e-06/9.439, allocations: 0 / 3.613 GB, free: 77.61 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001973/9.44, allocations: 51.28 kB / 3.613 GB, free: 77.56 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.005518/9.445, allocations: 1.889 MB / 3.615 GB, free: 75.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/9.445, allocations: 12.03 kB / 3.615 GB, free: 75.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003432/9.449, allocations: 497.2 kB / 3.616 GB, free: 75.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003301/9.452, allocations: 1.568 MB / 3.617 GB, free: 73.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.397e-05/9.452, allocations: 44 kB / 3.617 GB, free: 73.53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/9.452, allocations: 95.98 kB / 3.617 GB, free: 73.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001882/9.454, allocations: 1.216 MB / 3.619 GB, free: 72.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/9.456, allocations: 1.483 MB / 3.62 GB, free: 70.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.457e-05/9.456, allocations: 4 kB / 3.62 GB, free: 70.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/9.456, allocations: 7.984 kB / 3.62 GB, free: 70.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.553e-05/9.456, allocations: 50.48 kB / 3.62 GB, free: 70.56 MB / 0.698 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.007241/9.464, allocations: 7.08 MB / 3.627 GB, free: 63.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/9.465, allocations: 0.9592 MB / 3.628 GB, free: 62.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006917/9.466, allocations: 0.637 MB / 3.629 GB, free: 61.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002445/9.466, allocations: 110.3 kB / 3.629 GB, free: 61.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/9.466, allocations: 59.86 kB / 3.629 GB, free: 61.33 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001346/9.467, allocations: 274.5 kB / 3.629 GB, free: 61.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=106): time 4.258e-06/9.467, allocations: 3.938 kB / 3.629 GB, free: 61.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=112): time 0.005302/9.473, allocations: 3.511 MB / 3.632 GB, free: 57.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/9.473, allocations: 171.5 kB / 3.633 GB, free: 57.28 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009067/9.474, allocations: 0.7831 MB / 3.633 GB, free: 56.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.996e-05/9.474, allocations: 25.7 kB / 3.633 GB, free: 56.45 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/9.474, allocations: 0.7252 MB / 3.634 GB, free: 55.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/9.474, allocations: 382.3 kB / 3.634 GB, free: 55.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/9.474, allocations: 0 / 3.634 GB, free: 55.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001057/9.474, allocations: 357.9 kB / 3.635 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005524/9.475, allocations: 458.5 kB / 3.635 GB, free: 54.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007435/9.476, allocations: 0.787 MB / 3.636 GB, free: 53.62 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01495/9.491, allocations: 3.875 MB / 3.64 GB, free: 49.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/9.491, allocations: 4 kB / 3.64 GB, free: 49.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001987/9.493, allocations: 1.385 MB / 3.641 GB, free: 48.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/9.493, allocations: 12.89 kB / 3.641 GB, free: 48.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/9.493, allocations: 12 kB / 3.641 GB, free: 48.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/9.493, allocations: 16 kB / 3.641 GB, free: 48.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/9.494, allocations: 284.3 kB / 3.641 GB, free: 47.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/9.494, allocations: 19.94 kB / 3.642 GB, free: 47.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/9.495, allocations: 67.72 kB / 3.642 GB, free: 47.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/9.495, allocations: 59.98 kB / 3.642 GB, free: 47.85 MB / 0.698 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * 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.0002704/9.496, allocations: 148.6 kB / 3.642 GB, free: 47.7 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00148/9.497, allocations: 1.109 MB / 3.643 GB, free: 46.58 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/9.497, allocations: 146.4 kB / 3.643 GB, free: 46.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/9.499, allocations: 1.133 MB / 3.644 GB, free: 45.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/9.499, allocations: 12 kB / 3.644 GB, free: 45.28 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/9.499, allocations: 0 / 3.644 GB, free: 45.28 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001056/9.5, allocations: 1.127 MB / 3.645 GB, free: 44.08 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004448/9.505, allocations: 3.445 MB / 3.649 GB, free: 40.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/9.505, allocations: 8 kB / 3.649 GB, free: 40.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/9.506, allocations: 258.4 kB / 3.649 GB, free: 40.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/9.506, allocations: 16 kB / 3.649 GB, free: 40.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.16e-05/9.506, allocations: 16 kB / 3.649 GB, free: 40.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.174e-05/9.506, allocations: 27.86 kB / 3.649 GB, free: 40.17 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/9.506, allocations: 15.94 kB / 3.649 GB, free: 40.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/9.508, allocations: 2.608 MB / 3.651 GB, free: 37.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005402/9.508, allocations: 335.2 kB / 3.652 GB, free: 36.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/9.509, allocations: 19.94 kB / 3.652 GB, free: 36.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/9.51, allocations: 71.8 kB / 3.652 GB, free: 36.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.964e-05/9.51, allocations: 100.5 kB / 3.652 GB, free: 36.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.19e-05/9.51, allocations: 55.98 kB / 3.652 GB, free: 36.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006156/9.511, allocations: 0.5767 MB / 3.653 GB, free: 36.03 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/9.511, allocations: 3.938 kB / 3.653 GB, free: 36.03 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001872/9.512, allocations: 0.5156 MB / 3.653 GB, free: 35.51 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1],vol2.dynBal.U,vol2.dynBal.mXi[1],intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.005264/9.518, allocations: 8.261 MB / 3.661 GB, free: 27.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0016/9.519, allocations: 1.09 MB / 3.662 GB, free: 26.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/9.519, allocations: 4 kB / 3.662 GB, free: 26.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005728/9.52, allocations: 0.493 MB / 3.663 GB, free: 25.53 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/9.523, allocations: 0.7028 MB / 3.663 GB, free: 24.84 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004968/9.528, allocations: 3.031 MB / 3.666 GB, free: 21.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007773/9.529, allocations: 1.402 MB / 3.668 GB, free: 20.19 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001417/9.531, allocations: 343.4 kB / 3.668 GB, free: 19.85 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007823/9.531, allocations: 0.6307 MB / 3.669 GB, free: 19.22 MB / 0.698 GB Notification: Performance of SimCode: time 1.703e-06/9.531, allocations: 0 / 3.669 GB, free: 19.22 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6186/10.15, allocations: 51.27 MB / 3.719 GB, free: 105.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/10.15, allocations: 197.3 kB / 3.719 GB, free: 105 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.001/14.15, allocations: 1.719 kB / 3.719 GB, free: 105 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)