Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7712/0.7712, allocations: 143.4 MB / 158.3 MB, free: 5.766 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 185 kB / 191.5 MB, free: 5.742 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.2 MB / 447.7 MB, free: 4.832 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.001179/0.001179, allocations: 94.2 kB / 0.5188 GB, free: 1.191 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001652/0.001652, allocations: 261.8 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004329/0.0004335, allocations: 13.16 kB / 0.6929 GB, free: 59.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1505, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.563/4.714, allocations: 1.891 GB / 2.665 GB, free: 137 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/4.714, allocations: 94.45 kB / 2.665 GB, free: 137 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.161/8.876, allocations: 1.099 GB / 3.764 GB, free: 79.88 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.583e-06/8.876, allocations: 0 / 3.764 GB, free: 79.88 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001349/8.876, allocations: 49.7 kB / 3.764 GB, free: 79.88 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.005113/8.881, allocations: 2.123 MB / 3.766 GB, free: 78.99 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/8.881, allocations: 13.83 kB / 3.766 GB, free: 78.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003268/8.884, allocations: 0.4893 MB / 3.766 GB, free: 78.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00374/8.888, allocations: 1.545 MB / 3.768 GB, free: 78.55 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.993e-05/8.888, allocations: 114 kB / 3.768 GB, free: 78.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/8.888, allocations: 149.4 kB / 3.768 GB, free: 78.54 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/8.891, allocations: 1.722 MB / 3.77 GB, free: 78.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/8.891, allocations: 0 / 3.77 GB, free: 78.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/8.891, allocations: 62.59 kB / 3.77 GB, free: 78.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-05/8.891, allocations: 48.64 kB / 3.77 GB, free: 78.22 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/8.893, allocations: 1.352 MB / 3.771 GB, free: 78.21 MB / 0.7136 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.008545/8.902, allocations: 7.383 MB / 3.778 GB, free: 74.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/8.903, allocations: 1.022 MB / 3.779 GB, free: 74.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/8.903, allocations: 112.9 kB / 3.779 GB, free: 73.96 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/8.903, allocations: 54.06 kB / 3.78 GB, free: 73.92 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00152/8.905, allocations: 324.8 kB / 3.78 GB, free: 73.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=106): time 4.519e-06/8.905, allocations: 3.625 kB / 3.78 GB, free: 73.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=112): time 0.006857/8.912, allocations: 4.215 MB / 3.784 GB, free: 72.49 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/8.912, allocations: 180.7 kB / 3.784 GB, free: 72.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/8.913, allocations: 1.084 MB / 3.785 GB, free: 72.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/8.913, allocations: 49.73 kB / 3.785 GB, free: 72.11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004244/8.914, allocations: 0.6929 MB / 3.786 GB, free: 71.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/8.914, allocations: 405.7 kB / 3.786 GB, free: 71.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.374e-05/8.914, allocations: 24.03 kB / 3.786 GB, free: 71.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.673e-05/8.914, allocations: 364.1 kB / 3.787 GB, free: 71.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006987/8.915, allocations: 0.4998 MB / 3.787 GB, free: 71.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008697/8.916, allocations: 0.8407 MB / 3.788 GB, free: 70.93 MB / 0.7136 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.009258/8.925, allocations: 3.426 MB / 3.791 GB, free: 70.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/8.925, allocations: 3.594 kB / 3.791 GB, free: 70.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003194/8.928, allocations: 1.566 MB / 3.793 GB, free: 70.47 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/8.928, allocations: 10.94 kB / 3.793 GB, free: 70.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/8.928, allocations: 6.719 kB / 3.793 GB, free: 70.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.154e-05/8.929, allocations: 15.09 kB / 3.793 GB, free: 70.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/8.93, allocations: 292.5 kB / 3.793 GB, free: 70.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.782e-05/8.93, allocations: 20.34 kB / 3.793 GB, free: 70.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/8.932, allocations: 97.62 kB / 3.793 GB, free: 70.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/8.933, allocations: 64 kB / 3.793 GB, free: 70.45 MB / 0.7136 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.001602/8.934, allocations: 435.6 kB / 3.794 GB, free: 70.33 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007029/8.935, allocations: 160.3 kB / 3.794 GB, free: 70.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/8.937, allocations: 1.238 MB / 3.795 GB, free: 70.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/8.937, allocations: 14.59 kB / 3.795 GB, free: 70.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/8.937, allocations: 3 kB / 3.795 GB, free: 70.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00131/8.939, allocations: 1.207 MB / 3.796 GB, free: 69.79 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005497/8.944, allocations: 3.707 MB / 3.8 GB, free: 68.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/8.944, allocations: 11.62 kB / 3.8 GB, free: 68.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/8.945, allocations: 250.8 kB / 3.8 GB, free: 68.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.497e-05/8.945, allocations: 14.62 kB / 3.8 GB, free: 68.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.382e-05/8.945, allocations: 36.66 kB / 3.8 GB, free: 68.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.688e-05/8.945, allocations: 25.23 kB / 3.8 GB, free: 68.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/8.945, allocations: 15.81 kB / 3.8 GB, free: 68.79 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/8.948, allocations: 2.841 MB / 3.803 GB, free: 67.12 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008567/8.949, allocations: 352.8 kB / 3.803 GB, free: 66.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/8.949, allocations: 39.22 kB / 3.803 GB, free: 66.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/8.95, allocations: 93.48 kB / 3.804 GB, free: 66.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/8.95, allocations: 97.45 kB / 3.804 GB, free: 66.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.716e-05/8.951, allocations: 53.92 kB / 3.804 GB, free: 66.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001067/8.952, allocations: 0.832 MB / 3.804 GB, free: 66.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/8.952, allocations: 0 / 3.804 GB, free: 66.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002103/8.954, allocations: 0.623 MB / 3.805 GB, free: 66.81 MB / 0.7136 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 () * Number of clocked 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.002827/8.957, allocations: 2.102 MB / 3.807 GB, free: 66.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001939/8.959, allocations: 1.191 MB / 3.808 GB, free: 66.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/8.959, allocations: 3.938 kB / 3.808 GB, free: 66.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007244/8.959, allocations: 0.5356 MB / 3.809 GB, free: 66.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004051/8.963, allocations: 0.8669 MB / 3.81 GB, free: 66.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005403/8.969, allocations: 3.985 MB / 3.814 GB, free: 64.19 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008811/8.97, allocations: 1.41 MB / 3.815 GB, free: 63.48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001752/8.971, allocations: 376.5 kB / 3.815 GB, free: 63.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000385/8.972, allocations: 125.1 kB / 3.815 GB, free: 63.44 MB / 0.7136 GB Notification: Performance of SimCode: time 1.853e-06/8.972, allocations: 0 / 3.815 GB, free: 63.44 MB / 0.7136 GB Notification: Performance of Templates: time 0.08281/9.055, allocations: 51.8 MB / 3.866 GB, free: 28.98 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)