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.9104/0.9104, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001337, allocations: 186.1 kB / 187.3 MB, free: 11.89 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.414/1.414, allocations: 221.3 MB / 441.4 MB, free: 4.672 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.0008325/0.0008323, allocations: 102.6 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001709/0.001709, allocations: 268.6 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.91e-05/3.912e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.444, allocations: 82.78 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.348/4.792, allocations: 1.891 GB / 2.655 GB, free: 156 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/4.792, allocations: 87.89 kB / 2.655 GB, free: 155.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.024/8.817, allocations: 1.098 GB / 3.753 GB, free: 97.25 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.794e-06/8.817, allocations: 0 / 3.753 GB, free: 97.25 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001349/8.817, allocations: 51.64 kB / 3.753 GB, free: 97.24 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.004591/8.822, allocations: 1.864 MB / 3.755 GB, free: 96.39 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/8.822, allocations: 11.59 kB / 3.755 GB, free: 96.39 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003232/8.825, allocations: 0.4889 MB / 3.756 GB, free: 96.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003686/8.829, allocations: 1.531 MB / 3.757 GB, free: 95.87 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.691e-05/8.829, allocations: 111.2 kB / 3.757 GB, free: 95.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/8.829, allocations: 152.7 kB / 3.757 GB, free: 95.86 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/8.831, allocations: 1.685 MB / 3.759 GB, free: 95.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/8.832, allocations: 3.938 kB / 3.759 GB, free: 95.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/8.832, allocations: 60.25 kB / 3.759 GB, free: 95.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.142e-05/8.832, allocations: 60 kB / 3.759 GB, free: 95.53 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/8.834, allocations: 1.319 MB / 3.76 GB, free: 95.49 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.008083/8.842, allocations: 7.395 MB / 3.768 GB, free: 90.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/8.843, allocations: 0.9959 MB / 3.769 GB, free: 90.13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007686/8.844, allocations: 0.6707 MB / 3.769 GB, free: 89.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002109/8.844, allocations: 119.3 kB / 3.769 GB, free: 89.74 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/8.844, allocations: 57.34 kB / 3.769 GB, free: 89.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001449/8.846, allocations: 324.8 kB / 3.77 GB, free: 89.55 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=106): time 5.15e-06/8.846, allocations: 6.203 kB / 3.77 GB, free: 89.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=112): time 0.005652/8.851, allocations: 3.675 MB / 3.773 GB, free: 87.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/8.851, allocations: 173.9 kB / 3.773 GB, free: 87.33 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/8.853, allocations: 1.058 MB / 3.775 GB, free: 86.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.809e-05/8.853, allocations: 52.48 kB / 3.775 GB, free: 86.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/8.853, allocations: 0.6963 MB / 3.775 GB, free: 86.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002985/8.853, allocations: 404.6 kB / 3.776 GB, free: 86.01 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/8.854, allocations: 27.81 kB / 3.776 GB, free: 85.99 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.771e-05/8.854, allocations: 358.5 kB / 3.776 GB, free: 85.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006521/8.854, allocations: 498 kB / 3.776 GB, free: 85.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008341/8.855, allocations: 0.8302 MB / 3.777 GB, free: 84.89 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.01588/8.871, allocations: 4.016 MB / 3.781 GB, free: 83.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/8.871, allocations: 7.562 kB / 3.781 GB, free: 83.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002896/8.874, allocations: 1.547 MB / 3.783 GB, free: 83.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/8.874, allocations: 8 kB / 3.783 GB, free: 83.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/8.874, allocations: 11 kB / 3.783 GB, free: 83.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.749e-05/8.874, allocations: 16 kB / 3.783 GB, free: 83.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/8.875, allocations: 293.1 kB / 3.783 GB, free: 82.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.338e-05/8.875, allocations: 19.64 kB / 3.783 GB, free: 82.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/8.877, allocations: 104 kB / 3.783 GB, free: 82.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/8.877, allocations: 62.19 kB / 3.783 GB, free: 82.66 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 () * 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.0003486/8.878, allocations: 196.9 kB / 3.783 GB, free: 82.46 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003499/8.878, allocations: 165.8 kB / 3.784 GB, free: 82.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/8.88, allocations: 1.225 MB / 3.785 GB, free: 81.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/8.88, allocations: 15.95 kB / 3.785 GB, free: 81.17 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/8.88, allocations: 0 / 3.785 GB, free: 81.17 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001269/8.882, allocations: 1.194 MB / 3.786 GB, free: 79.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00594/8.888, allocations: 3.696 MB / 3.79 GB, free: 76.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/8.888, allocations: 12 kB / 3.79 GB, free: 76.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/8.889, allocations: 251.6 kB / 3.79 GB, free: 75.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.018e-05/8.889, allocations: 23.95 kB / 3.79 GB, free: 75.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.622e-05/8.889, allocations: 35.98 kB / 3.79 GB, free: 75.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-05/8.889, allocations: 19.94 kB / 3.79 GB, free: 75.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.218e-05/8.889, allocations: 15.94 kB / 3.79 GB, free: 75.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002847/8.892, allocations: 2.814 MB / 3.793 GB, free: 72.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009/8.893, allocations: 351.1 kB / 3.793 GB, free: 71.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/8.893, allocations: 39.98 kB / 3.793 GB, free: 71.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/8.894, allocations: 89.03 kB / 3.793 GB, free: 71.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/8.894, allocations: 101.7 kB / 3.793 GB, free: 71.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.702e-05/8.894, allocations: 47.98 kB / 3.793 GB, free: 71.72 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001148/8.895, allocations: 0.8197 MB / 3.794 GB, free: 70.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.21e-07/8.895, allocations: 0 / 3.794 GB, free: 70.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002325/8.898, allocations: 0.6171 MB / 3.795 GB, free: 70.28 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 () * 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.003186/8.901, allocations: 2.108 MB / 3.797 GB, free: 68.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002096/8.903, allocations: 1.174 MB / 3.798 GB, free: 67.44 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/8.903, allocations: 4 kB / 3.798 GB, free: 67.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006922/8.904, allocations: 0.5253 MB / 3.798 GB, free: 66.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004388/8.908, allocations: 0.8831 MB / 3.799 GB, free: 66.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/8.912, allocations: 2.782 MB / 3.802 GB, free: 63.21 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007273/8.913, allocations: 1.402 MB / 3.803 GB, free: 61.79 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00164/8.915, allocations: 380 kB / 3.804 GB, free: 61.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003792/8.915, allocations: 131.4 kB / 3.804 GB, free: 61.3 MB / 0.7136 GB Notification: Performance of SimCode: time 1.242e-06/8.915, allocations: 0 / 3.804 GB, free: 61.3 MB / 0.7136 GB Notification: Performance of Templates: time 0.07186/8.987, allocations: 57.03 MB / 3.859 GB, free: 5.223 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)