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.9967/0.9967, allocations: 141.8 MB / 149.3 MB, free: 9.199 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.001162/0.001162, allocations: 184.9 kB / 182.2 MB, free: 9.438 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.388/1.388, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0008298/0.0008297, allocations: 79.95 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001706/0.001706, allocations: 272.9 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.088e-05/2.091e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4675/0.4676, allocations: 82.77 MB / 0.7573 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.555/5.023, allocations: 1.89 GB / 2.648 GB, free: 168.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/5.023, allocations: 87.83 kB / 2.648 GB, free: 168 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.935/8.958, allocations: 1.086 GB / 3.734 GB, free: 88.15 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.356e-06/8.958, allocations: 7.906 kB / 3.734 GB, free: 88.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003532/8.958, allocations: 44.09 kB / 3.734 GB, free: 88.14 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.007934/8.966, allocations: 1.868 MB / 3.736 GB, free: 87.35 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/8.966, allocations: 10.88 kB / 3.736 GB, free: 87.35 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005711/8.972, allocations: 0.4898 MB / 3.736 GB, free: 87.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0056/8.978, allocations: 1.526 MB / 3.738 GB, free: 86.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.472e-05/8.978, allocations: 42.94 kB / 3.738 GB, free: 86.94 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/8.978, allocations: 87.66 kB / 3.738 GB, free: 86.94 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003231/8.981, allocations: 1.22 MB / 3.739 GB, free: 86.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003437/8.985, allocations: 1.494 MB / 3.741 GB, free: 86.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.436e-05/8.985, allocations: 3.75 kB / 3.741 GB, free: 86.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/8.985, allocations: 3.812 kB / 3.741 GB, free: 86.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.752e-05/8.985, allocations: 51.55 kB / 3.741 GB, free: 86.62 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.01177/8.997, allocations: 7.087 MB / 3.748 GB, free: 82.71 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/8.999, allocations: 0.9549 MB / 3.749 GB, free: 82.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/9, allocations: 0.6318 MB / 3.749 GB, free: 82.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003198/9, allocations: 119.4 kB / 3.749 GB, free: 82.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/9.001, allocations: 54 kB / 3.749 GB, free: 82.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002163/9.003, allocations: 272.1 kB / 3.75 GB, free: 82.37 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=106): time 7.344e-06/9.003, allocations: 0 / 3.75 GB, free: 82.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=112): time 0.008831/9.012, allocations: 3.497 MB / 3.753 GB, free: 81.08 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/9.012, allocations: 168.9 kB / 3.753 GB, free: 80.89 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/9.013, allocations: 0.7776 MB / 3.754 GB, free: 80.74 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/9.013, allocations: 29.39 kB / 3.754 GB, free: 80.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005856/9.014, allocations: 0.7095 MB / 3.755 GB, free: 80.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004366/9.014, allocations: 391.1 kB / 3.755 GB, free: 80.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.371e-05/9.015, allocations: 0 / 3.755 GB, free: 80.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001188/9.015, allocations: 355.8 kB / 3.755 GB, free: 79.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009834/9.016, allocations: 465.2 kB / 3.756 GB, free: 79.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/9.017, allocations: 0.7771 MB / 3.757 GB, free: 79.48 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.01976/9.037, allocations: 3.881 MB / 3.76 GB, free: 79.14 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/9.037, allocations: 3.812 kB / 3.76 GB, free: 79.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002185/9.039, allocations: 1.379 MB / 3.762 GB, free: 79.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/9.039, allocations: 11.56 kB / 3.762 GB, free: 79.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/9.039, allocations: 8.531 kB / 3.762 GB, free: 79.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.257e-05/9.039, allocations: 19.03 kB / 3.762 GB, free: 79.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/9.04, allocations: 284.9 kB / 3.762 GB, free: 79.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/9.04, allocations: 17.03 kB / 3.762 GB, free: 79.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/9.042, allocations: 66.44 kB / 3.762 GB, free: 79.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/9.042, allocations: 61.61 kB / 3.762 GB, free: 79.01 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 (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.0002788/9.042, allocations: 156.5 kB / 3.762 GB, free: 78.89 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002691/9.042, allocations: 137.7 kB / 3.763 GB, free: 78.83 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/9.044, allocations: 1.132 MB / 3.764 GB, free: 78.74 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/9.044, allocations: 11.12 kB / 3.764 GB, free: 78.74 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/9.044, allocations: 0 / 3.764 GB, free: 78.74 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001148/9.045, allocations: 1.143 MB / 3.765 GB, free: 78.36 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004908/9.05, allocations: 3.422 MB / 3.768 GB, free: 77.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/9.05, allocations: 13.78 kB / 3.768 GB, free: 77.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/9.051, allocations: 251 kB / 3.768 GB, free: 77.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-05/9.051, allocations: 14.72 kB / 3.768 GB, free: 77.4 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.637e-05/9.052, allocations: 25.48 kB / 3.768 GB, free: 77.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.397e-05/9.052, allocations: 18.97 kB / 3.768 GB, free: 77.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/9.052, allocations: 16.38 kB / 3.768 GB, free: 77.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/9.054, allocations: 2.617 MB / 3.771 GB, free: 76.06 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006594/9.055, allocations: 330.4 kB / 3.771 GB, free: 75.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/9.055, allocations: 26.19 kB / 3.771 GB, free: 75.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/9.056, allocations: 68.56 kB / 3.771 GB, free: 75.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/9.056, allocations: 102.3 kB / 3.771 GB, free: 75.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.88e-05/9.056, allocations: 59.88 kB / 3.772 GB, free: 75.88 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007959/9.057, allocations: 0.5739 MB / 3.772 GB, free: 75.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.4e-07/9.057, allocations: 0 / 3.772 GB, free: 75.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001807/9.059, allocations: 0.5071 MB / 3.773 GB, free: 75.77 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.002726/9.062, allocations: 2.32 MB / 3.775 GB, free: 75.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001633/9.063, allocations: 1.092 MB / 3.776 GB, free: 75.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/9.063, allocations: 3.969 kB / 3.776 GB, free: 75.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005701/9.064, allocations: 0.496 MB / 3.776 GB, free: 75.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003285/9.067, allocations: 0.7025 MB / 3.777 GB, free: 75.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/9.071, allocations: 2.682 MB / 3.78 GB, free: 74.06 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007757/9.072, allocations: 1.403 MB / 3.781 GB, free: 73.34 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001355/9.073, allocations: 343.7 kB / 3.781 GB, free: 73.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003322/9.073, allocations: 114.7 kB / 3.782 GB, free: 73.32 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/9.073, allocations: 0 / 3.782 GB, free: 73.32 MB / 0.7136 GB Notification: Performance of Templates: time 0.05327/9.127, allocations: 34.67 MB / 3.815 GB, free: 62.09 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)