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 1.178/1.178, allocations: 141.8 MB / 149.3 MB, free: 9.195 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.001735/0.001735, allocations: 180.9 kB / 182.2 MB, free: 9.426 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.487/1.487, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009727/0.0009724, allocations: 92.09 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001764/0.001764, allocations: 282.5 kB / 0.5889 GB, free: 54.63 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.238e-05/2.237e-05, allocations: 4 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4582/0.4582, allocations: 82.77 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.852/5.31, allocations: 1.89 GB / 2.648 GB, free: 168 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/5.31, allocations: 96.39 kB / 2.648 GB, free: 167.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.295/9.606, allocations: 1.086 GB / 3.734 GB, free: 88.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.733e-06/9.606, allocations: 0 / 3.734 GB, free: 88.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002394/9.606, allocations: 50.14 kB / 3.734 GB, free: 88.08 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.006121/9.612, allocations: 1.864 MB / 3.736 GB, free: 87.29 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/9.612, allocations: 11.05 kB / 3.736 GB, free: 87.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004011/9.616, allocations: 0.4917 MB / 3.736 GB, free: 87.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004749/9.621, allocations: 1.524 MB / 3.738 GB, free: 86.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.94e-05/9.621, allocations: 47.44 kB / 3.738 GB, free: 86.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005567/9.622, allocations: 94.19 kB / 3.738 GB, free: 86.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003044/9.625, allocations: 1.218 MB / 3.739 GB, free: 86.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003654/9.628, allocations: 1.488 MB / 3.741 GB, free: 86.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.017e-05/9.628, allocations: 6.125 kB / 3.741 GB, free: 86.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002199/9.629, allocations: 3.188 kB / 3.741 GB, free: 86.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.589e-05/9.629, allocations: 52.58 kB / 3.741 GB, free: 86.56 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.01078/9.639, allocations: 7.086 MB / 3.748 GB, free: 82.63 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/9.641, allocations: 0.9542 MB / 3.749 GB, free: 82.51 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008232/9.642, allocations: 0.638 MB / 3.749 GB, free: 82.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000233/9.642, allocations: 112.2 kB / 3.749 GB, free: 82.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/9.642, allocations: 57.44 kB / 3.749 GB, free: 82.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001588/9.644, allocations: 271.7 kB / 3.75 GB, free: 82.29 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=106): time 6.933e-06/9.644, allocations: 0 / 3.75 GB, free: 82.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=112): time 0.00747/9.651, allocations: 3.496 MB / 3.753 GB, free: 80.99 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/9.651, allocations: 173 kB / 3.753 GB, free: 80.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/9.653, allocations: 0.775 MB / 3.754 GB, free: 80.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/9.653, allocations: 25.7 kB / 3.754 GB, free: 80.62 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004846/9.653, allocations: 0.7175 MB / 3.755 GB, free: 80.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003479/9.653, allocations: 382.1 kB / 3.755 GB, free: 80.06 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.799e-05/9.654, allocations: 3.594 kB / 3.755 GB, free: 80.06 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000114/9.654, allocations: 360.8 kB / 3.755 GB, free: 79.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006683/9.654, allocations: 467.7 kB / 3.756 GB, free: 79.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000861/9.655, allocations: 0.7782 MB / 3.757 GB, free: 79.4 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.01603/9.671, allocations: 3.875 MB / 3.76 GB, free: 79.06 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/9.671, allocations: 3.625 kB / 3.76 GB, free: 79.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002766/9.674, allocations: 1.386 MB / 3.762 GB, free: 78.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/9.674, allocations: 7.625 kB / 3.762 GB, free: 78.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/9.674, allocations: 7.562 kB / 3.762 GB, free: 78.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.156e-05/9.674, allocations: 14.69 kB / 3.762 GB, free: 78.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/9.675, allocations: 287 kB / 3.762 GB, free: 78.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.144e-05/9.675, allocations: 14.56 kB / 3.762 GB, free: 78.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/9.677, allocations: 73.12 kB / 3.762 GB, free: 78.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/9.677, allocations: 59.59 kB / 3.762 GB, free: 78.93 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.0003233/9.678, allocations: 146.5 kB / 3.762 GB, free: 78.81 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005043/9.678, allocations: 138.8 kB / 3.763 GB, free: 78.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/9.681, allocations: 1.134 MB / 3.764 GB, free: 78.65 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/9.681, allocations: 12.75 kB / 3.764 GB, free: 78.65 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/9.681, allocations: 0 / 3.764 GB, free: 78.65 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0012/9.682, allocations: 1.135 MB / 3.765 GB, free: 78.28 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005793/9.688, allocations: 3.426 MB / 3.768 GB, free: 77.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/9.688, allocations: 10.09 kB / 3.768 GB, free: 77.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/9.689, allocations: 256.3 kB / 3.768 GB, free: 77.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.367e-05/9.689, allocations: 18.91 kB / 3.768 GB, free: 77.31 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.199e-05/9.689, allocations: 28.73 kB / 3.768 GB, free: 77.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.669e-05/9.689, allocations: 18.69 kB / 3.768 GB, free: 77.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/9.689, allocations: 14 kB / 3.768 GB, free: 77.31 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/9.692, allocations: 2.61 MB / 3.771 GB, free: 75.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008225/9.693, allocations: 335.9 kB / 3.771 GB, free: 75.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003546/9.693, allocations: 21.75 kB / 3.771 GB, free: 75.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/9.694, allocations: 72.42 kB / 3.771 GB, free: 75.81 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/9.695, allocations: 100.3 kB / 3.771 GB, free: 75.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/9.695, allocations: 53.03 kB / 3.772 GB, free: 75.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009465/9.696, allocations: 0.5763 MB / 3.772 GB, free: 75.69 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.31e-07/9.696, allocations: 0 / 3.772 GB, free: 75.69 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002331/9.698, allocations: 0.5107 MB / 3.773 GB, free: 75.69 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.003426/9.701, allocations: 2.321 MB / 3.775 GB, free: 74.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001945/9.703, allocations: 1.094 MB / 3.776 GB, free: 74.96 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/9.703, allocations: 3.594 kB / 3.776 GB, free: 74.96 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006487/9.704, allocations: 0.4938 MB / 3.776 GB, free: 74.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003842/9.708, allocations: 0.702 MB / 3.777 GB, free: 74.94 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00505/9.713, allocations: 2.687 MB / 3.78 GB, free: 73.97 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/9.714, allocations: 1.401 MB / 3.781 GB, free: 73.26 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001874/9.716, allocations: 342.4 kB / 3.781 GB, free: 73.24 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005475/9.717, allocations: 118.5 kB / 3.782 GB, free: 73.23 MB / 0.7136 GB Notification: Performance of SimCode: time 1.222e-06/9.717, allocations: 0 / 3.782 GB, free: 73.23 MB / 0.7136 GB Notification: Performance of Templates: time 0.05352/9.77, allocations: 34.68 MB / 3.815 GB, free: 62.14 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)